If it can be achieved, remember to like and share, thank you~
1.Description of requirements
In vue3.0 + vite + typeScript development, third-party js scripts need to be introduced as plug-ins, but this error is always reported during yarn build.
2.Usage scenarios
When using a third-party library as a component library in the Vue project, the build keeps reporting errors because the relevant parameters are not configured.
3.Solution ideas
Just add the line of configuration marked in red below to tsconfig.json.
“noImplicitAny”: false
// tsconfig.json
{
"compileOnSave": false,
"compilerOptions": {
........
"noImplicitAny": false,
},
.....
}