From e2ea01b8fbe8341d69b8b5b4a5109bb90d5db52a Mon Sep 17 00:00:00 2001 From: haixin <1875934025@qq.com> Date: Tue, 5 Mar 2024 10:27:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=B1=BB=E5=9E=8B=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/editor/src/shims-vue.d.ts | 5 ++--- packages/editor/tsconfig.json | 6 +----- tsconfig.json | 7 +------ 3 files changed, 4 insertions(+), 14 deletions(-) diff --git a/packages/editor/src/shims-vue.d.ts b/packages/editor/src/shims-vue.d.ts index 705ab72..8a5746e 100644 --- a/packages/editor/src/shims-vue.d.ts +++ b/packages/editor/src/shims-vue.d.ts @@ -5,11 +5,10 @@ declare module "*.vue" { export default component; } -declare module 'starfish-form' +declare module "starfish-form"; declare module "jsoneditor"; - /** * 在d.ts文件中定义类型,就相当于global,不需要再declare global */ @@ -20,5 +19,5 @@ interface Window { clickCountLimitMock: boolean; JSONEditor: any; VApp: any; - Clipboard:any; + Clipboard: any; } diff --git a/packages/editor/tsconfig.json b/packages/editor/tsconfig.json index 98c2b08..4a5a616 100644 --- a/packages/editor/tsconfig.json +++ b/packages/editor/tsconfig.json @@ -14,10 +14,6 @@ "exclude": [ "node_modules", + "**/dist/**/*" ], - "include": [ - "*", - "./src/env.d.ts", - "./src" - ] } diff --git a/tsconfig.json b/tsconfig.json index 5bcffa9..5355153 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -28,15 +28,10 @@ "esnext", "dom", "dom.iterable", - "scripthost", - "es6", - "es2017" + "scripthost" ] }, "exclude": [ "node_modules", ], - "include": [ - "*" - ] }