[Vuejs]-Vue.js eslint how to get rid of the warning : Could not find a declaration file for module

0👍

It looks like you’re using typescript. If no typings exist for that particular package, you’ll need to create your own definition file:

Name it vue-howlder.d.ts. The contents should be:

declare module `vue-howler`

Make sure your tsconfig file can find this in wherever your typings directory is.

Leave a comment