From 778914265f06262856d1521f40805281206eb677 Mon Sep 17 00:00:00 2001 From: ZhangXianQiang <1135831638@qq.com> Date: 星期四, 29 二月 2024 10:45:47 +0800 Subject: [PATCH] feat:安全隐患数据统计 --- tsconfig.json | 51 ++++++++++++++++++++++++++++++++++++--------------- 1 files changed, 36 insertions(+), 15 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index a7d0be3..e554493 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,25 +1,46 @@ { "compilerOptions": { - "baseUrl": ".", - "module": "ESNext", - "target": "ES2016", - "lib": ["DOM", "ESNext"], + "target": "esnext", + "useDefineForClassFields": true, + "module": "esnext", + "moduleResolution": "node", "strict": true, "jsx": "preserve", - "esModuleInterop": true, - "skipLibCheck": true, - "moduleResolution": "node", + "sourceMap": true, "resolveJsonModule": true, - "noUnusedLocals": true, - "strictNullChecks": true, - "allowJs": true, - "forceConsistentCasingInFileNames": true, + "isolatedModules": true, + "esModuleInterop": true, + "lib": [ + "esnext", + "dom" + ], + "baseUrl": "./", "types": [ - "vite/client" + "node", + "vite/client", + "element-plus/global" ], "paths": { - "~/*": ["src/*"] + "@/*": [ + "src/*" + ], + "api/*": [ + "src/api/*" + ], } }, - "exclude": ["dist", "node_modules"] -} + "include": [ + "src/**/*.ts", + "src/**/*.d.ts", + "src/**/*.tsx", + "src/**/*.vue", + "types/env.d.ts", + "types/*.d.ts" + ], + "exclude": ["node_modules","public"], + "references": [ + { + "path": "./tsconfig.config.json" + } + ] +} \ No newline at end of file -- Gitblit v1.8.0