Skip to content

Commit

Permalink
fix: 类型文件修改
Browse files Browse the repository at this point in the history
  • Loading branch information
haixin-fang committed Mar 5, 2024
1 parent cb7c42a commit e2ea01b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
5 changes: 2 additions & 3 deletions packages/editor/src/shims-vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand All @@ -20,5 +19,5 @@ interface Window {
clickCountLimitMock: boolean;
JSONEditor: any;
VApp: any;
Clipboard:any;
Clipboard: any;
}
6 changes: 1 addition & 5 deletions packages/editor/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@

"exclude": [
"node_modules",
"**/dist/**/*"
],
"include": [
"*",
"./src/env.d.ts",
"./src"
]
}
7 changes: 1 addition & 6 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,10 @@
"esnext",
"dom",
"dom.iterable",
"scripthost",
"es6",
"es2017"
"scripthost"
]
},
"exclude": [
"node_modules",
],
"include": [
"*"
]
}

0 comments on commit e2ea01b

Please sign in to comment.