src/main.ts(12,25): error TS7016: Could not find a declaration file for module 'v-contextmenu'. '/app/node_modules/v-contextmenu/dist/index.common.js' implicitly has an 'any' type.
Try npm i --save-dev @types/v-contextmenu if it exists or add a new declaration (.d.ts) file containing declare module 'v-contextmenu';
Yes, you have to add the file v-contextmenu.d.ts containing only the line declare module "v-contextmenu"; in the same directory of App.vue.
Hope it helps
mario
src/main.ts(12,25): error TS7016: Could not find a declaration file for module 'v-contextmenu'. '/app/node_modules/v-contextmenu/dist/index.common.js' implicitly has an 'any' type. Try
npm i --save-dev @types/v-contextmenu
if it exists or add a new declaration (.d.ts) file containingdeclare module 'v-contextmenu';
期望结果
实际结果
复现步骤
环境说明
Vue
版本: