Parsing error: Imports within a `declare module` body must always be `import type` or `import typeof` 2020-09-23by SKILLNULL 其他 阅读(5159) 1 npm install --dev @typescript-eslint/parser 然后.eslintrc.js中 12345 module.exports = { parserOptions: { parser: "@typescript-eslint/parser", }} 打赏 赞(1) 微信支付宝 用微信扫描二维码打赏用支付宝扫描二维码打赏 文章导航 element-ui 表格控制列显隐简单方案vite.config.ts基础配置分享 评论 取消回复 电子邮件地址不会被公开。