Skip to content

Commit c6f819e

Browse files
build: add typeRoots to tsconfig as fix for possible conflicts with other types in repositories with this repo as submodule
1 parent 1a9cbcb commit c6f819e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

nodejs/tsconfig.base.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717
"strictNullChecks": true,
1818
"target": "es2022",
1919
"incremental": true,
20-
"newLine": "LF"
20+
"newLine": "LF",
21+
"typeRoots": [
22+
"./node_modules/@types"
23+
]
2124
},
2225
"exclude": [
2326
"node_modules"

0 commit comments

Comments
 (0)