Skip to main content
ParsedValues - util - 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"]]: (T["options"][LongOption]["default"] extends { } ? never : undefined) | IfDefaultsFalse<T["options"][LongOption]["multiple"], Array<ExtractOptionValue<T, T["options"][LongOption]>>, ExtractOptionValue<T, T["options"][LongOption]>> : { })