Property 'ls' does not exist on type 'VueConstructor<Vue>'.
Hi,
Thanks for making this component. I am trying to use it with vue-cli but am getting this message Property 'ls' does not exist on type 'VueConstructor<Vue>'. It does work, data is saved and read correctly but this error prevents me from compiling to prod. I followed the instructions you posted. Am I doing something wrong or missing something? Perhaps not a good idea to start with the cli while it's not in final and typescript as well...
Thanks π
Hi @kilroy05 Thanks for your report.
Do you use typescript? Tell us in detail how your project was created and how it is configured.
I checked on my production project, everything works. But I do not use typescript
Hi.
Yes. The issue seems to be typescript. I think I need to read the Vue manual at the typescript section into more detail.
On the train now. Thanks for the quick reply. I'll update my report in the coming days.
Cheers
On Tue, 13 Mar 2018, 18:09 Igor Ognichenko, [email protected] wrote:
Hi @kilroy05 https://github.com/kilroy05 Thanks for your report.
Do you use typescript? Tell us in detail how your project was created and how it is configured.
I checked on my production project, everything works. But I do not use typescript
β You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/RobinCK/vue-ls/issues/22#issuecomment-372764245, or mute the thread https://github.com/notifications/unsubscribe-auth/AEyomemE8M3wjDyZSC12-r5NeCRdYUVNks5teAtTgaJpZM4SpJXZ .
Hi,
Indeed it was my usage. Since there is no type for your plugin, it needs to be created as specified in the Vue documentation page, which can be found here, in case others come across this : https://vuejs.org/v2/guide/typescript.html
Again, thanks for making this plugin freely available π
Cheers
@kilroy05 thanks