Skip to content

Commit a77ee8a

Browse files
authored
fix(tsconfig): set explicit rootDir to silence TS6059 in consumer IDEs (#211)
The shipped tsconfig.json sets outDir without rootDir, which causes TypeScript >=5.x to emit a TS6059 hint in consumer IDEs that validate the vendor config. Setting rootDir to ./src matches what TypeScript already infers and follows the team's recommended migration. Closes #209
1 parent 65453df commit a77ee8a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"noImplicitOverride": true,
1313
"module": "preserve",
1414
"outDir": "dist/module",
15+
"rootDir": "./src",
1516
"sourceMap": true,
1617
/* AND if you're building for a library: */
1718
"declaration": true,

0 commit comments

Comments
 (0)