TAnimation<T>: T extends TColorArg ? ColorAnimation : T extends number[] ? ArrayAnimation : ValueAnimation
T
TColorArg
ColorAnimation
number
ArrayAnimation
ValueAnimation
• T extends number | number[] | TColorArg
src/util/animation/animate.ts:11