1- import type { Argv } from 'yargs'
1+ import { type Argv } from 'yargs'
22
33export const appcenterArgs = < T = { } > ( yargs : Argv < T > ) =>
44 yargs
@@ -16,7 +16,7 @@ export const appcenterArgs = <T = {}>(yargs: Argv<T>) =>
1616 alias : 'b' ,
1717 type : 'string' ,
1818 } )
19- . option ( 'development' , { type : 'string' } )
19+ . option ( 'development' , { type : 'boolean' , default : false } )
2020 . option ( 'entry-file' , { alias : 'e' , type : 'string' } )
2121 . option ( 'gradle-file' , { alias : 'g' , type : 'string' } )
2222 . option ( 'pod-file' , { type : 'string' } )
@@ -30,5 +30,5 @@ export const appcenterArgs = <T = {}>(yargs: Argv<T>) =>
3030 . option ( 'output-dir' , { alias : [ 'o' , 'output-path' ] , type : 'string' } )
3131 . option ( 'extra-bundler-option' , { alias : [ 'extra-bundler-options' ] , default : [ ] , type : 'array' } )
3232 . option ( 'extra-hermes-flag' , { alias : [ 'extra-hermes-flags' ] , type : 'array' , default : [ ] } )
33- . option ( 'use-hermes' , { default : true } )
33+ . option ( 'use-hermes' , { default : true , type : 'boolean' } )
3434 . option ( 'disable-duplicate-release-error' , { type : 'boolean' , default : true } )
0 commit comments