aninest root / AnimatableTypes / RecursiveAnimatable
RecursiveAnimatable<T>
ts
type RecursiveAnimatable<T>: { [P in keyof T]: T[P] extends number ? number : RecursiveAnimatable<T[P]> };
The generic type of the animation state.
Type Parameters
• T
Example
ts
{
a: {x: 0, y: 0},
b: {x: 0, y: 0}
}