vlitejs / vlite

🦋 vLitejs is a fast and lightweight Javascript library for customizing video and audio player in Javascript with a minimalist theme (HTML5, Youtube, Vimeo, Dailymotion)
https://vlite.js.org
MIT License
268 stars 18 forks source link

TypeScript declaration files #50

Closed michey85 closed 2 years ago

michey85 commented 3 years ago

Description

I use TypeScript and my IDE tells me there is no declaration file. Your lib was written using TS, so could you please share declaration file with other dist files?

yoriiis commented 3 years ago

I can generate declaration files, however the mapping to the source file does not work because the files in the dist directory have a different directory structure.

If you have any idea on how to consume the declaration file while maintaining the directory structure of the dist files, please feel free to submit a PR.

yoriiis commented 2 years ago

Closing due to inactivity. Thanks! Feel free to send a PR.