-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Suggestion] Add Typescript definition file #23
Comments
Thank you! |
Yeah, TS support is important... I am getting erros while using it with TS
|
@RobinCK any plans for this? would be much appreciated |
At the moment I don't have plans to add typings. |
@RobinCK Do you have any idea about below error? Yes need typescript support, i have also facing that issue only I did that now im not getting that issue after declaring like declare module 'vue-ls'; But below error still getting
|
First off, thanks for the project!
Thought I'd share this and hope to make this package typescript friendly. Not sure if this is all that's required to get this working, but it did a lot for me. This assumes that the 'name' option is left at 'ls'. I still had to import like
const Storage = require('vue-ls')
- not sure if the fix is with a definitions file or modification of the shipped package.The text was updated successfully, but these errors were encountered: