Skip to content

Commit 883a2f6

Browse files
committed
Add ignoreDeprecations: "6.0" to tsconfig for TypeScript 6 compatibility
TypeScript 6.0 treats baseUrl as a deprecated option (error TS5101). tsup generates a temporary tsconfig during DTS builds that includes baseUrl, triggering the error. Adding ignoreDeprecations silences it.
1 parent 8cbf406 commit 883a2f6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"esModuleInterop": true,
1515
"skipLibCheck": true,
1616
"isolatedModules": true,
17-
"useDefineForClassFields": true
17+
"useDefineForClassFields": true,
18+
"ignoreDeprecations": "6.0"
1819
},
1920
"include": ["src"],
2021
"exclude": ["node_modules", "dist", "build", "tests"]

0 commit comments

Comments
 (0)