Closed julianwilkinson closed 1 year ago
Hi!
Would it be possible to get the typings for events added for use with Typescript?
For example, the event listener for enterFrame emits the object BMEnterFrameEvent with
enterFrame
BMEnterFrameEvent
{ type: string, currentTime: number, totalTime: number, direction: number }
but this can't be imported from Lottie like the other types.
This has been implemented in https://github.com/airbnb/lottie-web/pull/2920.
Awesome! Thank you~
Hi!
Would it be possible to get the typings for events added for use with Typescript?
For example, the event listener for
enterFrame
emits the objectBMEnterFrameEvent
withbut this can't be imported from Lottie like the other types.