File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ export async function _generateTypes (nuxt: Nuxt) {
135135 /* Base options: */
136136 esModuleInterop : true ,
137137 skipLibCheck : true ,
138- target : 'es2022 ' ,
138+ target : 'ESNext ' ,
139139 allowJs : true ,
140140 resolveJsonModule : true ,
141141 moduleDetection : 'force' ,
@@ -147,11 +147,11 @@ export async function _generateTypes (nuxt: Nuxt) {
147147 forceConsistentCasingInFileNames : true ,
148148 noImplicitOverride : true ,
149149 /* If NOT transpiling with TypeScript: */
150- module : hasTypescriptVersionWithModulePreserve ? 'preserve' : 'es2022 ' ,
150+ module : hasTypescriptVersionWithModulePreserve ? 'preserve' : 'ESNext ' ,
151151 noEmit : true ,
152152 /* If your code runs in the DOM: */
153153 lib : [
154- 'es2022 ' ,
154+ 'ESNext ' ,
155155 'dom' ,
156156 'dom.iterable' ,
157157 ] ,
You can’t perform that action at this time.
0 commit comments