aninest-root / AnimatableTypes / Animatable
Animatable<T>
ts
type Animatable<T> = { [P in keyof T]: T[P] extends UnknownRoot ? Root<T[P]> : Animatable<T[P]> };
Defined in: Animate/AnimatableTypes.ts:70
The generic type of the animation state.
Type Parameters
T
T
Example
ts
{
a: {x: 0, y: 0},
b: {x: 0, y: 0}
}