Skip to content

Commit f5ff651

Browse files
committed
add missing typeRoots config on tsconfig
1 parent 8ce639d commit f5ff651

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

modules/openapi-generator/src/main/resources/typescript/tsconfig.mustache

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
{{/supportsES6}}
1212
"moduleResolution": "node",
1313
"declaration": true,
14+
"typeRoots": [
15+
"node_modules/@types"
16+
]
1417

1518
/* Additional Checks */
1619
"noUnusedLocals": false, /* Report errors on unused locals. */ // TODO: reenable (unused imports!)

0 commit comments

Comments
 (0)