Skip to content

Commit fcd2e71

Browse files
committed
Scope web app TS target to ES2022; restore base tsconfig to ES2023 for
cross-package consistency. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
1 parent fe5911f commit fcd2e71

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

tsconfig.base.json

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,18 @@
11
{
22
"compilerOptions": {
3-
/* language / emit ------------------------------------------------------ */
43
"target": "ES2023",
54
"lib": ["ES2023", "DOM"],
65
"module": "esnext",
7-
"moduleResolution": "bundler", // Bun-friendly + TS 5.5 import maps
8-
"allowImportingTsExtensions": true, // smooth “./foo.ts” imports
6+
"moduleResolution": "bundler",
7+
"allowImportingTsExtensions": true,
98
"noEmit": true,
109

11-
/* type-safety ---------------------------------------------------------- */
1210
"strict": true,
1311
"noImplicitReturns": true,
14-
// "exactOptionalPropertyTypes": true,
15-
// "noUncheckedIndexedAccess": true,
1612

17-
/* interop / ergonomics ------------------------------------------------- */
1813
"esModuleInterop": true,
1914
"isolatedModules": true,
20-
// "verbatimModuleSyntax": true, // don’t rewrite ESM syntax
21-
"skipLibCheck": true, // faster CI
15+
"skipLibCheck": true,
2216
"forceConsistentCasingInFileNames": true
2317
}
24-
25-
// Don't include "paths" here.
2618
}

web/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"extends": "../tsconfig.base.json",
33
"compilerOptions": {
4-
"target": "es6",
4+
"target": "ES2022",
55
"lib": ["dom", "dom.iterable", "esnext"],
66
"baseUrl": ".",
77
"types": ["@testing-library/jest-dom"],

0 commit comments

Comments
 (0)