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

Usage in Deno

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

Type Parameters

K extends string

Definition

O["type"] extends "string" ? { kind: "option"; index: number; name: K; rawName: string; value: string; inlineValue: boolean; } : O["type"] extends "boolean" ? { kind: "option"; index: number; name: K; rawName: string; value: undefined; inlineValue: undefined; } : OptionToken & { name: K; }