vue-cli-plugin-element-plus icon indicating copy to clipboard operation
vue-cli-plugin-element-plus copied to clipboard

Issue with TypeScript

Open mehran-naghizadeh opened this issue 4 years ago • 0 comments

I've run vue add element-plus on a fresh vue3 + TypeScript app. Now, trying to run yarn serve, I get

ERROR in src/main.ts:6:32 TS7016: Could not find a declaration file for module './plugins/element'. '/Users/mehran/Documents/metras/frontend/metras-vue3/src/plugins/element.js' implicitly has an 'any' type. ... 6 | import installElementPlus from './plugins/element'; ...

mehran-naghizadeh avatar Jul 27 '21 20:07 mehran-naghizadeh