From 6d68026c6c7874035dc6d91999c07f7652d747be Mon Sep 17 00:00:00 2001 From: Jeremy Apthorp Date: Wed, 6 Feb 2019 15:46:10 -0800 Subject: [PATCH] chore: fix ts config to not complain about extraneous files (#16790) --- tsconfig.default_app.json | 19 ++++++++----------- tsconfig.electron.json | 20 ++++++++------------ 2 files changed, 16 insertions(+), 23 deletions(-) diff --git a/tsconfig.default_app.json b/tsconfig.default_app.json index 939911562a8d4..0c5ea6038764f 100644 --- a/tsconfig.default_app.json +++ b/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" + ] } diff --git a/tsconfig.electron.json b/tsconfig.electron.json index 2da913aea5d6e..2c0094242ad6b 100644 --- a/tsconfig.electron.json +++ b/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" + ] }