From 76fe4bf14d31ee021950288c0f2becfadb5dca7d Mon Sep 17 00:00:00 2001 From: Marcus Eide Date: Wed, 1 Apr 2020 15:39:52 +0200 Subject: [PATCH] Specifically add types to tsconfig to fix build issue --- packages/cli/tsconfig.json | 2 +- tsconfig.json | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/cli/tsconfig.json b/packages/cli/tsconfig.json index 84b9319b94..b1883334a3 100644 --- a/packages/cli/tsconfig.json +++ b/packages/cli/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@spotify/web-scripts/config/tsconfig.json", + "extends": "../../tsconfig.json", "include": ["src"], "compilerOptions": { "baseUrl": "src", diff --git a/tsconfig.json b/tsconfig.json index 25f61cc933..1c7a020024 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,6 +5,8 @@ "allowJs": true, "noEmit": false, "declarationMap": true, - "incremental": true + "incremental": true, + "typeRoots": ["node_modules/@types"], + "types": ["node", "jest"] } }