From 4a4577dc9d70ff596b21f28f8a649dd46c8ffec2 Mon Sep 17 00:00:00 2001 From: D <3066417822@qq.com> Date: Wed, 20 Mar 2024 12:47:17 +0800 Subject: [PATCH] =?UTF-8?q?tsconfig=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tsconfig.json | 45 +++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 0b8beb0..a2e32ae 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,25 +1,26 @@ { - "compilerOptions": { - "importHelpers": true, - "strict": true, - "forceConsistentCasingInFileNames": true, - "downlevelIteration":true, - "outDir": "dist/compiled", - "baseUrl": "./", - "allowSyntheticDefaultImports": true, - "allowJs": true, - "jsx": "preserve", - "moduleResolution": "node", - "module": "ES2022", - "lib": ["ES2020", "dom"], - "declaration": true, - "paths": { - "@": ["src"], - "@/*": ["src/*"], - "/@/*": ["src/*"], - "vue": ["node_modules/vue"], - "tslib" : ["node_modules/tslib/tslib.d.ts"] - } + "exclude": ["node_modules"], + "compilerOptions": { + "noImplicitAny": true, + "importHelpers": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "downlevelIteration": true, + "outDir": "dist/compiled", + "baseUrl": "./", + "allowSyntheticDefaultImports": true, + "allowJs": true, + "jsx": "preserve", + "moduleResolution": "node", + "module": "ES2022", + "lib": ["ES2020", "dom"], + "declaration": true, + "paths": { + "@": ["src"], + "@/*": ["src/*"], + "/@/*": ["src/*"], + "vue": ["node_modules/vue"], + "tslib": ["node_modules/tslib/tslib.d.ts"] } } - \ No newline at end of file +}