Browse Source

chore: fix ts config to not complain about extraneous files (#16790)

Jeremy Apthorp 6 years ago
parent
commit
6d68026c6c
2 changed files with 16 additions and 23 deletions
  1. 8 11
      tsconfig.default_app.json
  2. 8 12
      tsconfig.electron.json

+ 8 - 11
tsconfig.default_app.json

@@ -1,13 +1,10 @@
 {
-	"extends": "./tsconfig.json",
-	"compilerOptions": {
-		"rootDir": "default_app",
-	},
-	"exclude": [
-		"script",
-		"spec",
-		"tools",
-		"lib",
-		"npm"
-	]
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "rootDir": "default_app"
+  },
+  "include": [
+    "default_app",
+    "typings"
+  ]
 }

+ 8 - 12
tsconfig.electron.json

@@ -1,14 +1,10 @@
 {
-	"extends": "./tsconfig.json",
-	"compilerOptions": {
-		"rootDir": "lib",
-	},
-	"exclude": [
-		"script",
-		"spec",
-		"tools",
-		"default_app",
-		"npm",
-		"electron.d.ts"
-	]
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "rootDir": "lib"
+  },
+  "include": [
+    "lib",
+    "typings"
+  ]
 }