v-contextmenu icon indicating copy to clipboard operation
v-contextmenu copied to clipboard

Need .d.ts file

Open D1N910 opened this issue 4 years ago • 3 comments

tips:

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

D1N910 avatar Jul 08 '21 07:07 D1N910

I need it, too

FifthGently avatar Jul 17 '21 01:07 FifthGently

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.

crystalfp avatar Dec 25 '21 18:12 crystalfp

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

CyberNika avatar Dec 06 '23 13:12 CyberNika