Skip to content

Commit c8c0cfa

Browse files
committed
fix: Updates ts config to remove comments, was causing issues with some d.ts tools
1 parent 8d3036a commit c8c0cfa

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

tsconfig.json

+4-5
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@
99
"esModuleInterop": true,
1010

1111
"alwaysStrict": false,
12-
"declaration": false,
12+
"declaration": true,
13+
"declarationMap": true,
1314
"downlevelIteration": true,
1415

15-
"importHelpers": false, // strongly ensure no tslib dependency
16+
"importHelpers": false,
1617
"inlineSources": true,
1718

1819
"noFallthroughCasesInSwitch": true,
@@ -27,13 +28,11 @@
2728

2829
"resolveJsonModule": true,
2930

30-
// https://github.com/microsoft/TypeScript/issues/50175#issuecomment-1204986989
31-
// "skipLibCheck": true,
3231
"sourceMap": true,
3332
"strictBindCallApply": false,
3433

3534
"types": ["node", "vite/client"],
36-
"allowJs": true, // for importing configs in tests
35+
"allowJs": true,
3736
"lib": ["ES2021"],
3837

3938
"paths": {

0 commit comments

Comments
 (0)