thangngoc89 / react-howler

A React.js wrapper for howler.js (audio player)
https://khoanguyen.me/react-howler/
MIT License
364 stars 83 forks source link

Player methods missing on index.d.ts #108

Open WoolDoughnut310 opened 3 years ago

WoolDoughnut310 commented 3 years ago

The load method is not present on the react-howler type definition.

EDIT: The pause and play methods are also not on the type declaration.

Stenerson commented 3 years ago

Hey @WoolDoughnut310 (sweet handle! 🐑 🍩), As discussed in #99 this isn't something I have the capability to do. I'm pretty sure we don't have any native TS support. It's my understanding that the community maintains some definitions at @types/react-howler/index.d.ts, do you maybe want to open a PR to add these definitions there?