From 8ca4e761fd5f5e8404a48c385819cea0fbe9fc6a Mon Sep 17 00:00:00 2001 From: Andy Dill Date: Mon, 10 Feb 2020 12:17:04 -0800 Subject: [PATCH] fix: explicitly specify `typeRoots` to avoid crawling parent directories (#22078) --- spec/ts-smoke/tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/ts-smoke/tsconfig.json b/spec/ts-smoke/tsconfig.json index 4ab8887665c8..35f95b765351 100644 --- a/spec/ts-smoke/tsconfig.json +++ b/spec/ts-smoke/tsconfig.json @@ -5,6 +5,7 @@ "es6", "dom" ], + "typeRoots" : ["../../node_modules/@types"], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false,