Skip to content

Commit

Permalink
dev(renderer): use lib.dom.d.ts in @types/web
Browse files Browse the repository at this point in the history
+ to use the latest lib.dom.d.ts
+ see: microsoft/TypeScript-DOM-lib-generator#1029
  • Loading branch information
Myriad-Dreamin committed Apr 15, 2023
1 parent bb3245c commit a2d6a80
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
13 changes: 13 additions & 0 deletions renderer/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
},
"devDependencies": {
"@types/node": "^16.11.6",
"@types/web": "^0.0.99",
"@typescript-eslint/eslint-plugin": "5.29.0",
"@typescript-eslint/parser": "5.29.0",
"builtin-modules": "3.3.0",
Expand Down
6 changes: 4 additions & 2 deletions renderer/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{
"compilerOptions": {
"types": [
"web"
],
"baseUrl": ".",
"inlineSourceMap": true,
"inlineSources": true,
"module": "commonjs",
"target": "ES5",
"target": "ES2019",
"allowJs": true,
"noImplicitAny": true,
"moduleResolution": "node",
Expand All @@ -13,7 +16,6 @@
"strictNullChecks": true,
"declaration": true,
"lib": [
"DOM",
"ES5",
"ES6",
"ES7"
Expand Down

0 comments on commit a2d6a80

Please sign in to comment.