Skip to content

Commit

Permalink
Only use node types where necessary
Browse files Browse the repository at this point in the history
Fixes #8343.
  • Loading branch information
aaronjensen committed Dec 21, 2019
1 parent 845d8da commit 5860575
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion addons/docs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
"types": ["webpack-env"]
"types": ["webpack-env", "node"]
},
"include": ["src/**/*"],
"exclude": ["src/**.test.ts"]
Expand Down
3 changes: 2 additions & 1 deletion lib/addons/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"rootDir": "./src"
"rootDir": "./src",
"types": ["webpack-env"]
},
"include": [
"src/**/*"
Expand Down
3 changes: 2 additions & 1 deletion lib/channels/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"rootDir": "./src"
"rootDir": "./src",
"types": ["node"]
},
"include": [
"src/**/*"
Expand Down
3 changes: 2 additions & 1 deletion lib/client-logger/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"rootDir": "./src"
"rootDir": "./src",
"types": ["node"]
},
"include": ["src/**/*"],
"exclude": ["src/**/*.test.ts"]
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"target": "es5",
"types": ["node", "jest"],
"types": ["jest"],
"lib": ["es2017", "dom"]
},
"exclude": [
Expand Down

0 comments on commit 5860575

Please sign in to comment.