Skip to content

Commit 6d68026

Browse files
authored
chore: fix ts config to not complain about extraneous files (electron#16790)
1 parent 2d14384 commit 6d68026

File tree

2 files changed

+16
-23
lines changed

2 files changed

+16
-23
lines changed

tsconfig.default_app.json

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
{
2-
"extends": "./tsconfig.json",
3-
"compilerOptions": {
4-
"rootDir": "default_app",
5-
},
6-
"exclude": [
7-
"script",
8-
"spec",
9-
"tools",
10-
"lib",
11-
"npm"
12-
]
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"rootDir": "default_app"
5+
},
6+
"include": [
7+
"default_app",
8+
"typings"
9+
]
1310
}

tsconfig.electron.json

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
{
2-
"extends": "./tsconfig.json",
3-
"compilerOptions": {
4-
"rootDir": "lib",
5-
},
6-
"exclude": [
7-
"script",
8-
"spec",
9-
"tools",
10-
"default_app",
11-
"npm",
12-
"electron.d.ts"
13-
]
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"rootDir": "lib"
5+
},
6+
"include": [
7+
"lib",
8+
"typings"
9+
]
1410
}

0 commit comments

Comments
 (0)