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

Need .d.ts file #104

Open
D1N910 opened this issue Jul 8, 2021 · 3 comments
Open

Need .d.ts file #104

D1N910 opened this issue Jul 8, 2021 · 3 comments

Comments

@D1N910
Copy link

D1N910 commented Jul 8, 2021

tips:

Could not find a declaration file for module 'v-contextmenu'.

@FifthGently
Copy link

I need it, too

@crystalfp
Copy link

I have put a types.d.ts file containing only declare module 'v-contextmenu'; in node_modules/v-contextmenu and the same file alongside main.ts but named v-contextmenu.d.ts. Strange. But for me the first one is needed for vue ui serve, and the second one to have VS Code not complaining when import contextmenu from "v-contextmenu";. An official solution is badly needed. I use Vue 3 on windows.

@CyberNika
Copy link
Owner

you can try v3.1.0 version which includes d.ts files and new es outputs.

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

4 participants