Takachi67 / vue3-autocomplete

Vue3 component used to search and select an item in a custom list.
31 stars 17 forks source link

Error when import the component #20

Open giolongo opened 2 years ago

giolongo commented 2 years ago

I followed the wizard for install and import the component, but the import row has this error.

Could not find a declaration file for module 'vue3-autocomplete'. '..../dist/vue3-autocomplete.common.js' implicitly has an 'any ' type. Trynpm i --save-dev @types/vue3-autocompleteif it exists or add a new declaration (.d.ts) file containingdeclare module 'vue3-autocomplete';``

How can i resolve?

Takachi67 commented 2 years ago

Hi, are you using Typescript ? Seems like there's an error with ts.

giolongo commented 2 years ago

Hi, are you using Typescript ? Seems like there's an error with ts.

Hi, yes I use