Skip to main content

default

property ParseArgsOptionConfig.default

The default option value when it is not set by args. It must be of the same type as the the type property. When multiple is true, it must be an array.

string
| boolean
| string[]
| boolean[]
| undefined
Back to top