Closed xeoneux closed 6 years ago
Hi @xeoneux,
Thanks for your message. Correct, Player.getEvents()
returns an array of tracks each of which contains an array of events for that track.
-Garrett
There are a few other issues with the typings as well. Would you accept a PR if I convert the code into TypeScript?
Hi @xeoneux,
I'm not too familiar with TypeScript, but sure I'd consider accepting a PR if it improves the library. It wouldn't change the way it's currently used would it?
-Garrett
It won't change the way how the library is currently used.
It'd remove dependency on gulp and babel and would also improve the developer experience.
Player.getEvents
method does not return an array of events, but an array of array of events.