From 85be08de5d255e855e5bc9871532ad270e9b5456 Mon Sep 17 00:00:00 2001 From: Eemeli Aro Date: Wed, 21 Dec 2022 14:03:05 +0200 Subject: [PATCH] chore: Explicitly set supported types in tsconfig.json --- tests/tsconfig.json | 3 ++- tsconfig.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/tsconfig.json b/tests/tsconfig.json index 3a8bfb4b..61b9ac77 100644 --- a/tests/tsconfig.json +++ b/tests/tsconfig.json @@ -6,7 +6,8 @@ "paths": { "yaml": ["../src/index.ts"] }, - "rootDir": ".." + "rootDir": "..", + "types": ["jest", "node"] }, "include": ["**/*.ts", "**/doc/*.js"] } diff --git a/tsconfig.json b/tsconfig.json index 5d88952c..dc36dc17 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,8 @@ "outDir": "dist", "rootDir": "src", "strict": true, - "target": "ES2020" + "target": "ES2020", + "types": ["node"] }, "include": ["src/**/*.ts"] }