File tree 4 files changed +7
-6
lines changed
packages/configs/typescript
4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
/**
2
- * Top-level await requires ES2022 (at least) as target and module
3
- * for TypeScript compiler (check tsconfig.json)
4
- * https://caniuse.com/mdn-javascript_operators_await_top_level
2
+ * These features are used across the codebase and requires specific
3
+ * ECMAScript versions as target in TypeScript compiler (check tsconfig.json):
4
+ * - Top-level: ES2022 https://caniuse.com/mdn-javascript_operators_await_top_level
5
+ * - Object.groupBy: ES2024 https://caniuse.com/mdn-javascript_builtins_object_groupby
5
6
*/
6
7
import { createApp } from 'vue' ;
7
8
import { routes } from 'vue-router/auto-routes' ;
Original file line number Diff line number Diff line change @@ -221,4 +221,4 @@ declare module 'vue' {
221
221
WizardMetadata : typeof import ( './../../src/components/Wizard/WizardMetadata.vue' ) [ 'default' ]
222
222
WizardRemoteAccess : typeof import ( './../../src/components/Wizard/WizardRemoteAccess.vue' ) [ 'default' ]
223
223
}
224
- }
224
+ }
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ export default defineConfig({
80
80
/**
81
81
* See main.ts for an explanation of this target
82
82
*/
83
- target : 'esnext ' ,
83
+ target : 'es2024 ' ,
84
84
/**
85
85
* Disable chunk size warnings
86
86
*/
Original file line number Diff line number Diff line change 1
1
{
2
2
"$schema" : " https://json.schemastore.org/tsconfig" ,
3
3
"compilerOptions" : {
4
- "target" : " ESNext " ,
4
+ "target" : " ES2024 " ,
5
5
"module" : " Preserve" ,
6
6
"moduleResolution" : " Bundler" ,
7
7
"esModuleInterop" : true ,
You can’t perform that action at this time.
0 commit comments