From 35987a98f92093bd3cf89855fdd44fee29e107f8 Mon Sep 17 00:00:00 2001 From: Vasil Rangelov Date: Mon, 11 Nov 2019 18:17:47 +0200 Subject: [PATCH] Added typeRoot to tsconfig.json to ensure successful compilation when running as a dependency. --- tsconfig.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tsconfig.json b/tsconfig.json index 5d766ab..93cff05 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -17,6 +17,9 @@ "lib": [ "es2019","es2019.array" ], + "typeRoots": [ + "./node_modules/@types" + ], "resolveJsonModule": true, }, "include": [