From 4949d6f883ac6ec7f65f4cf59087e1123a519a81 Mon Sep 17 00:00:00 2001 From: midfar Date: Fri, 10 Mar 2023 14:53:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=81=BF=E5=85=8Dtsconfig=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=A3=80=E6=9F=A5js=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tsconfig.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index b9bd264..08e7e33 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,7 +12,7 @@ "jsx": "preserve", "baseUrl": ".", "preserveValueImports": false, - "allowJs": true, + "allowJs": false, "sourceMap": true, "esModuleInterop": true, "resolveJsonModule": true, @@ -23,7 +23,7 @@ "noImplicitAny": false, "skipLibCheck": true, "removeComments": true, - "types": ["webpack-env", "unplugin-vue-define-options"], + "types": ["webpack-env", "vite/client"], "paths": { "@/*": ["src/*"] }