Skip to content

Commit

Permalink
use explicit type packages to prevent unsupported global type declara…
Browse files Browse the repository at this point in the history
…tions
  • Loading branch information
ronny1982 committed Nov 24, 2024
1 parent c823c4f commit b5969f3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion app/electron/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"module": "ESNext",
"moduleResolution": "bundler",
"skipLibCheck": true,
"noEmit": true
"noEmit": true,
"types": [ "chrome" ]
},
"include": [
"src/**/*.ts",
Expand Down
3 changes: 2 additions & 1 deletion app/nw/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"module": "ESNext",
"moduleResolution": "bundler",
"skipLibCheck": true,
"noEmit": true
"noEmit": true,
"types": [ "chrome", "nw.js" ]
},
"include": [
"src/**/*.ts",
Expand Down
3 changes: 2 additions & 1 deletion web/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"noEmit": true,
"strictBindCallApply": true,
"experimentalDecorators": true,
"useDefineForClassFields": false
"useDefineForClassFields": false,
"types": [ "chrome", "nw.js", "wicg-file-system-access" ]
},
"include": [
"src/**/*.d.ts",
Expand Down

0 comments on commit b5969f3

Please sign in to comment.