Skip to main content
TokenForOptions - util - Node documentation
type alias TokenForOptions

Usage in Deno

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

Type Parameters

T extends ParseArgsConfig
K extends keyof T["options"] = keyof T["options"]

Definition

K extends unknown ? T["options"] extends ParseArgsOptionsConfig ? PreciseTokenForOptions<K & string, T["options"][K]> : OptionToken : never