• Define an animation.

    Type Parameters

    Parameters

    • animation: Animation<T> & Record<string, any>

      The Animation object implemented by Interface Animation

    Returns Animation<T>

    The custom Animation object