madzadev / audio-player

🎵 Music player with custom controls, playlist, filters, and search.
https://audioplayer.madza.dev
344 stars 49 forks source link

[Issue]: npm/bun install not working for TypeScript #13

Closed fvtrx closed 7 months ago

fvtrx commented 7 months ago

Hi @madzadev I tried to install this packages in my TypeScript project. But I'm facing the error below at the moment:

Could not find a declaration file for module '@madzadev/audio-player'. '/Users/fvtrx/Documents/ProgrammingProject/syifa/node_modules/@madzadev/audio-player/dist/audio-player.js' implicitly has an 'any' type. Try npm i --save-dev @types/madzadev__audio-player if it exists or add a new declaration (.d.ts) file containing declare module '@madzadev/audio-player

Can help to provide the declaration file for module @madzadev/audio-player?

Thanks.

madzadev commented 7 months ago

Hi there, @fvtrx ! Thanks for reporting! Currently, the package does not provide support for TS, might consider doing a rewrite if I get enough requests! Thanks again!

jason-heng commented 1 month ago

we need a the types please