Skip to main content

ParsedValues

type alias ParsedValues

Type Parameters Jump to heading

Definition Jump to heading

IfDefaultsTrue<T["strict"], unknown, { [longOption: string]:
undefined
| string
| boolean
; }> & (T["options"] extends ParseArgsOptionsConfig ? -readonly [LongOption in keyof T["options"]]: (T["options"][LongOption]["default"] extends { } ? never : undefined) | IfDefaultsFalse<T["options"][LongOption]["multiple"], Array<ExtractOptionValue<T, T["options"][LongOption]>>, ExtractOptionValue<T, T["options"][LongOption]>> : { })
Back to top