File tree Expand file tree Collapse file tree 7 files changed +15
-6
lines changed Expand file tree Collapse file tree 7 files changed +15
-6
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @godot-js/editor " : patch
3
+ ---
4
+
5
+ ** Feature:** Bumped default tsconfig target from es2016 to es2022
6
+
7
+ All supported runtimes ought to support the 2022 standard. You can
8
+ still manually change the target if desired. This change is to
9
+ provide a better user experience by default.
Original file line number Diff line number Diff line change 12
12
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
13
13
14
14
/* Language and Environment */
15
- "target" : " es2016 " , /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
15
+ "target" : " es2022 " , /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
16
16
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
17
17
// "jsx": "preserve", /* Specify what JSX code is generated. */
18
18
// "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
Original file line number Diff line number Diff line change 12
12
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
13
13
14
14
/* Language and Environment */
15
- "target" : " es2016 " , /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
15
+ "target" : " es2022 " , /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
16
16
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
17
17
// "jsx": "preserve", /* Specify what JSX code is generated. */
18
18
// "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
Original file line number Diff line number Diff line change 12
12
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
13
13
14
14
/* Language and Environment */
15
- "target" : " es2016 " , /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
15
+ "target" : " es2022 " , /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
16
16
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
17
17
// "jsx": "preserve", /* Specify what JSX code is generated. */
18
18
// "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions": {
3
3
"module": "CommonJS",
4
- "target": "es2016 "
4
+ "target": "es2022 "
5
5
}
6
6
}
Original file line number Diff line number Diff line change 11
11
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
12
12
13
13
/* Language and Environment */
14
- "target": "es2016 ", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
14
+ "target": "es2022 ", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
15
15
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
16
16
// "jsx": "preserve", /* Specify what JSX code is generated. */
17
17
// "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
Original file line number Diff line number Diff line change 11
11
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
12
12
13
13
/* Language and Environment */
14
- "target" : " es2016 " , /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
14
+ "target" : " es2022 " , /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
15
15
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
16
16
// "jsx": "preserve", /* Specify what JSX code is generated. */
17
17
// "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
You can’t perform that action at this time.
0 commit comments