Type alias AnimateFunction<T>

AnimateFunction<T>: ((animation, duration, params?) => {
    animation: Animation<T>;
    duration: number;
    mode: "async" | "sync";
    params: Record<string, any>;
    setAsync: (() => ReturnType<AnimateFunction<T>>);
    setSync: (() => ReturnType<AnimateFunction<T>>);
})

Type Parameters

Type declaration