(property: string, fromValue: string | number, toValue: string | number)
| 938 | }; |
| 939 | |
| 940 | const fromTo = (property: string, fromValue: string | number, toValue: string | number) => { |
| 941 | return from(property, fromValue).to(property, toValue); |
| 942 | }; |
| 943 | |
| 944 | return (ani = { |
| 945 | parentAnimation, |