Skip to main content
ParsedValues - node__util.d.ts - Node documentation
type alias ParsedValues

Usage in Deno

```typescript import { type ParsedValues } from "node:node__util.d.ts"; ```

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]>> : { })