File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ const mainCommand = defineCommand({
119119
120120 // Prompt the user where to create the Nitro app
121121 if ( ! args . dir ) {
122- args . dir = await consola
122+ ( args as any ) /* readonly */ . dir = await consola
123123 . prompt ( `Where would you like to create your ${ NAME } app?` , {
124124 placeholder : `./${ DEFAULT_DIR } ` ,
125125 type : "text" ,
@@ -176,7 +176,7 @@ const mainCommand = defineCommand({
176176
177177 // Prompt the user which template to use
178178 if ( ! args . template ) {
179- args . template = await consola
179+ ( args as any ) /* readonly */ . template = await consola
180180 . prompt ( `What template would you like to use?` , {
181181 type : "select" ,
182182 options : TEMPLATES . map ( ( t ) => ( {
@@ -258,7 +258,7 @@ const mainCommand = defineCommand({
258258 }
259259
260260 if ( args . gitInit === undefined ) {
261- args . gitInit = await consola
261+ ( args as any ) /* readonly */ . gitInit = await consola
262262 . prompt ( "Initialize git repository?" , {
263263 type : "confirm" ,
264264 cancel : "undefined" ,
Original file line number Diff line number Diff line change 1515 "forceConsistentCasingInFileNames" : true ,
1616 "allowImportingTsExtensions" : true ,
1717 "noImplicitOverride" : true ,
18- "noEmit" : true
18+ "noEmit" : true ,
19+ "types" : [" node" ]
1920 },
2021 "exclude" : [" nitro-app" ]
2122}
You can’t perform that action at this time.
0 commit comments