From 30cf3a2caa89beb3efa9fdfe77227bc0d8cf788d Mon Sep 17 00:00:00 2001 From: LiuHao <liuhaoai545@gmail.com> Date: 星期一, 18 三月 2024 14:17:48 +0800 Subject: [PATCH] update 增加多实例常量 --- tsconfig.json | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index b3c0a01..e4bf3ac 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,6 +6,7 @@ "moduleResolution": "bundler", "strict": true, "jsx": "preserve", + "strictNullChecks": false, "sourceMap": true, "resolveJsonModule": true, "esModuleInterop": true, @@ -18,6 +19,9 @@ "paths": { "@/*": ["src/*"] }, + "compilerOptions": { + "types": ["element-plus/global"] + }, "types": ["vite/client"], "skipLibCheck": true, "removeComments": true, -- Gitblit v1.9.3