Skip to content
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

Vue click outside not found #2

Open
ninijule opened this issue Aug 5, 2021 · 2 comments
Open

Vue click outside not found #2

ninijule opened this issue Aug 5, 2021 · 2 comments

Comments

@ninijule
Copy link

ninijule commented Aug 5, 2021

The problem

Hello, i'm trying to add V-click-outside to my project but i got an errors because he doesn't found him. I installed it by using
npm install but he doesn't care and show me this error.

'c:/Users/Julian/Project/node_modules/v-click-outside-x/dist/v-click-outside-x.js' implicitly has an 'any' type.
Try npm i --save-dev @types/v-click-outside-x if it exists or add a new declaration (.d.ts) file containing `declare module 'v-click-outside-x'; ts(7016)

Can you help me and give me some advice thank you for your help !

@ninijule
Copy link
Author

ninijule commented Aug 5, 2021

So funny i have found a solution so i posted it maybe it can help
Just before import i use that :

``
// @ts-ignore
import Vlick from "v-click-outside";

``

@awillert
Copy link

awillert commented Oct 8, 2021

//@ts-ignore is not the solution of this problem.

It seems that the typings from repo aren't included in the NPM-Package.
@SergioCrisostomo could you check this, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants