在Vuejs中,在遵循Vuejs安装指令(https://vuelidate.js.org/#getting-started)的同时,我会在以下位置收到警告:
import Vuelidate from 'vuelidate'
警告说:
找不到模块“vuelidate”的声明文件。‘c:/Users/myUser/.././index.js’隐式有‘任意’类型。如果
npm install @types/vuelidate存在,可以尝试使用它,或者添加一个包含declare module 'vuelidate';ts的新声明(.d.ts)文件(7016)
https://stackoverflow.com/questions/63908945
复制相似问题