From c45bc9138990c5891fa13d0d44c1f7a70ef42e4b Mon Sep 17 00:00:00 2001 From: Germain Souquet Date: Thu, 5 Aug 2021 11:16:28 +0200 Subject: [PATCH] Include all TypeScript @types listed in project dependency Fixes vector-im/element-web#17743 The package @types/jest was not discovered because if types is specified, only packages listed will be included in the global scope. --- tsconfig.json | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 548bbe7fb..896c4c3b3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,12 +9,10 @@ "noImplicitAny": false, "sourceMap": true, "outDir": "./lib", - "declaration": true, - "types": [ - "node" - ] + "declaration": true }, "include": [ - "./src/**/*.ts" + "./src/**/*.ts", + "./spec/**/*.ts", ] }