Skip to content

Commit 4a05b13

Browse files
committed
Raised supported ecmaVersion from es2021 to es2022
1 parent dde91b4 commit 4a05b13

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Since v5.5.0 of the JavaScript adapter the following locations (relative to the
4545
### **WORK IN PROGRESS**
4646

4747
* (klein0r) Fixed some missing translations (uk)
48+
* (klein0r) Raised supported ecmaVersion from es2021 to es2022 (node18)
4849

4950
### 8.0.0 (2024-04-05)
5051

lib/typescriptSettings.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
const typescript = require('typescript');
22

3-
// NodeJS 16+ supports the features of ES2021
3+
// NodeJS 18+ supports the features of ES2022
44
// consider changing this, so we get to support the newest features too
5-
const targetTsLib = 'es2021';
5+
const targetTsLib = 'es2022';
66

77
/** @type {typescript.CompilerOptions} */
88
const tsCompilerOptions = {

0 commit comments

Comments
 (0)