Skip to main content
Module

x/yargs/deno-types.ts

yargs the modern, pirate-themed successor to optimist.
Go to Latest
File
declare type ArgsOutput = (string | number)[];
// TODO(bcoe): attempt to get the types for YargsInstance working again.export interface Arguments { /** Non-option arguments */ _: ArgsOutput; /** Arguments after the end-of-options flag `--` */ '--'?: ArgsOutput; /** All remaining options */ [argName: string]: any;}