ParsedValues - Node documentation
type alias ParsedValues

Usage in Deno

import { type ParsedValues } from "node:util";

Type Parameters

T extends ParseArgsConfig

Definition

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