diff --git a/nodejs/tsconfig.base.json b/nodejs/tsconfig.base.json index 7309be296f..e51f055529 100644 --- a/nodejs/tsconfig.base.json +++ b/nodejs/tsconfig.base.json @@ -17,7 +17,10 @@ "strictNullChecks": true, "target": "es2022", "incremental": true, - "newLine": "LF" + "newLine": "LF", + "typeRoots": [ + "node_modules/@types" + ] }, "exclude": [ "node_modules" diff --git a/nodejs/tsconfig.esm.json b/nodejs/tsconfig.esm.json index a1115cabe4..cdf92d4972 100644 --- a/nodejs/tsconfig.esm.json +++ b/nodejs/tsconfig.esm.json @@ -18,7 +18,10 @@ "strict": true, "strictNullChecks": true, "incremental": true, - "newLine": "LF" + "newLine": "LF", + "typeRoots": [ + "node_modules/@types" + ] }, "exclude": [ "node_modules"