Skip to content

Commit 4ce6687

Browse files
authored
Update compile settings according TypeScript's Node Target Mapping (#1506)
1 parent f4d4e94 commit 4ce6687

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+66
-66
lines changed

.tsconfigrc.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ const compileCompilerOptions = CompilerOptions.assign(defaultCompilerOptions, {
368368
noUnusedLocals: true,
369369
noUnusedParameters: true,
370370
target: 'es2022',
371-
lib: [ 'es2022' ],
371+
lib: [ 'es2023' ],
372372
});
373373

374374
/** @type ProjectOptions */
@@ -387,7 +387,7 @@ const watchCompilerOptions = CompilerOptions.assign(defaultCompilerOptions, {
387387
noUnusedParameters: false,
388388
assumeChangesOnlyAffectDirectDependencies: true,
389389
target: 'es2022',
390-
lib: [ 'es2022' ],
390+
lib: [ 'es2023' ],
391391
});
392392

393393
/** @type ProjectOptions */
@@ -405,7 +405,7 @@ const publishCompilerOptions = CompilerOptions.assign(defaultCompilerOptions, {
405405
noUnusedLocals: true,
406406
noUnusedParameters: true,
407407
target: 'es2022',
408-
lib: [ 'es2022' ]
408+
lib: [ 'es2023' ]
409409

410410
});
411411

README.md

Lines changed: 1 addition & 1 deletion

client-node-tests/src/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"mocha"
1010
],
1111
"lib": [
12-
"es2022",
12+
"es2023",
1313
"webworker"
1414
],
1515
"strict": true,

client-node-tests/src/tsconfig.publish.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"mocha"
1010
],
1111
"lib": [
12-
"es2022",
12+
"es2023",
1313
"webworker"
1414
],
1515
"strict": true,

client-node-tests/src/tsconfig.watch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"mocha"
1010
],
1111
"lib": [
12-
"es2022",
12+
"es2023",
1313
"webworker"
1414
],
1515
"strict": true,

client/src/browser/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"moduleResolution": "node16",
88
"rootDir": ".",
99
"lib": [
10-
"es2022",
10+
"es2023",
1111
"webworker"
1212
],
1313
"strict": true,

client/src/browser/tsconfig.publish.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"moduleResolution": "node16",
88
"rootDir": ".",
99
"lib": [
10-
"es2022",
10+
"es2023",
1111
"webworker"
1212
],
1313
"strict": true,

client/src/browser/tsconfig.watch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"moduleResolution": "node16",
88
"rootDir": ".",
99
"lib": [
10-
"es2022",
10+
"es2023",
1111
"webworker"
1212
],
1313
"strict": true,

client/src/common/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"noUnusedParameters": true,
1919
"target": "es2022",
2020
"lib": [
21-
"es2022"
21+
"es2023"
2222
],
2323
"outDir": "../../lib/common",
2424
"tsBuildInfoFile": "../../lib/common/compile.tsbuildInfo",

client/src/common/tsconfig.publish.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"noUnusedParameters": true,
1919
"target": "es2022",
2020
"lib": [
21-
"es2022"
21+
"es2023"
2222
],
2323
"outDir": "../../lib/common",
2424
"tsBuildInfoFile": "../../lib/common/publish.tsbuildInfo",

0 commit comments

Comments
 (0)