Skip to content

Commit 2f97a24

Browse files
committed
build: update tsconfig for ts 5.4
1 parent 3978a87 commit 2f97a24

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

tsconfig.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
// See https://www.totaltypescript.com/tsconfig-cheat-sheet.
12
{
2-
// See https://www.totaltypescript.com/tsconfig-cheat-sheet.
33
"compilerOptions": {
4-
/* Base Options: */
4+
// Base options.
55
"esModuleInterop": true,
66
"skipLibCheck": true,
77
"target": "es2022",
@@ -10,16 +10,15 @@
1010
"moduleDetection": "force",
1111
"isolatedModules": true,
1212
"verbatimModuleSyntax": true,
13-
/* Strictness */
13+
// Strictness.
1414
"strict": true,
1515
"noUncheckedIndexedAccess": true,
16-
/* If you're building for a library: */
16+
// Building a library.
1717
"declaration": true,
18-
/* If NOT transpiling with TypeScript: */
19-
"moduleResolution": "bundler",
20-
"module": "esnext",
18+
// Transpiling with a bundler.
19+
"module": "preserve",
2120
"noEmit": true,
22-
/* If your code doesn't run in the DOM: */
21+
// No DOM.
2322
"lib": ["es2022"]
2423
}
2524
}

0 commit comments

Comments
 (0)