Skip to content

Commit

Permalink
fix: ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
buqiyuan committed Aug 1, 2022
1 parent 2b13dc6 commit 7cac8f3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 17 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
"**/.angular/**/*.*": true,
"**/*.code-search": true,
"**/*.lock": true
}
},
"typescript.tsdk": "node_modules\\typescript\\lib"
}
24 changes: 11 additions & 13 deletions src/workbench/browser/src/typings.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,15 @@ import * as monaco from 'monaco-editor';
interface NodeModule {
id: string;
}
declare global {
interface Window {
process: any;
requirejs: any;
require: any;
angular: any;
eo: any;
BlobBuilder: any;
WebKitBlobBuilder: any;
MozBlobBuilder: any;
MSBlobBuilder: any;
monaco: typeof monaco;
}
interface Window {
process: any;
requirejs: any;
require: any;
angular: any;
eo: any;
BlobBuilder: any;
WebKitBlobBuilder: any;
MozBlobBuilder: any;
MSBlobBuilder: any;
monaco: typeof monaco;
}
3 changes: 0 additions & 3 deletions src/workbench/browser/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@
"dom"
]
},
"include": [
"**/*.d.ts",
],
"exclude": [
"node_modules"
],
Expand Down

0 comments on commit 7cac8f3

Please sign in to comment.