From 31c1f2b066b685c7bdf4f664c5d44accc75d67eb Mon Sep 17 00:00:00 2001 From: Peter Blazejewicz Date: Wed, 20 Sep 2017 22:22:37 +0200 Subject: [PATCH] Add explicit `include` compiler property to tsconfig. Closes #159 The explicit property declaration is based on comment from: wmonk/create-react-app-typescript#159 https://git.io/v5hxz and TS handbook: https://git.io/v5hxK Thanks! --- packages/react-scripts/template/tsconfig.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/react-scripts/template/tsconfig.json b/packages/react-scripts/template/tsconfig.json index 859735414..fc7d756ec 100644 --- a/packages/react-scripts/template/tsconfig.json +++ b/packages/react-scripts/template/tsconfig.json @@ -17,6 +17,9 @@ "suppressImplicitAnyIndexErrors": true, "noUnusedLocals": true }, + "include": [ + "src/**/*" + ], "exclude": [ "node_modules", "build",