The current tweenable interface is not satisfying typescript definition of a promise. This is a slight annoyance when using the await for a tweenable, as typescript complains it is not a promise. This PR finishes the promise implementation, adds the interface in typescript, and adds a test for good measure.
Awesome! Thank you for the PR @jspears. I’m pretty busy this week, so I may not have time to review this until the weekend. I will follow up here when I can!
The current tweenable interface is not satisfying typescript definition of a promise. This is a slight annoyance when using the
await
for a tweenable, as typescript complains it is not a promise. This PR finishes the promise implementation, adds the interface in typescript, and adds a test for good measure.