From 55b49a69cf2267eb39b2b506aed5a93b51d5d528 Mon Sep 17 00:00:00 2001 From: odc.xiaohui <xiaohui@Q1> Date: 星期四, 29 二月 2024 13:51:14 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- tsconfig.json | 37 ++++++++++++++++++++++++++++++++----- 1 files changed, 32 insertions(+), 5 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 6c47589..e554493 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,19 +1,46 @@ { - "extends": "@vue/tsconfig/tsconfig.web.json", - "include": ["env.d.ts", "src/**/*", "src/**/*.vue", "types"], "compilerOptions": { + "target": "esnext", + "useDefineForClassFields": true, + "module": "esnext", + "moduleResolution": "node", + "strict": true, + "jsx": "preserve", + "sourceMap": true, + "resolveJsonModule": true, + "isolatedModules": true, + "esModuleInterop": true, + "lib": [ + "esnext", + "dom" + ], "baseUrl": "./", - "types": ["vite/client" ], + "types": [ + "node", + "vite/client", + "element-plus/global" + ], "paths": { - "@/*": ["src/*"], + "@/*": [ + "src/*" + ], "api/*": [ "src/api/*" ], } }, + "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