diff --git a/tsconfig.json b/tsconfig.json index 16da7c5..fcd278d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -22,7 +22,7 @@ "@@/*": ["src/common/*"] }, "resolveJsonModule": true, - "types": ["vite/client", "vite-plugin-pwa/client"], + "types": ["vite/client"], // 允许导入 .ts .mts .tsx 拓展名的文件 "allowImportingTsExtensions": true, // 允许 JS