I am trying to use the Vue plugin in my application on a component withlang="ts"set up. Another component uses this plugin just fine, but that component is not using typescript.
When I compile, I get the following error:
[tsl] ERROR in /src/renderer/components/ApplicationStatus.vue.ts(8,36)
TS7016: Could not find a declaration file for module 'vue-timers'. '/node_modules/vue-timers/index.min.js' implicitly has an 'any' type.
I've tried creating a shim.d.ts file with the line
declare module 'vue-timers';
But that didn't really help. Not sure how to proceed on this.
I am trying to use the Vue plugin in my application on a component with
lang="ts"
set up. Another component uses this plugin just fine, but that component is not using typescript.When I compile, I get the following error:
I've tried creating a
shim.d.ts
file with the linedeclare module 'vue-timers';
But that didn't really help. Not sure how to proceed on this.