UNPKG

cmd-ts

Version:

> 💻 A type-driven command line argument parser, with awesome error reporting 🤤

9 lines (8 loc) • 242 B
export declare type Default<T> = { /** * A default value to be provided when a value is missing. * i.e., `string | null` should probably return `null`. */ defaultValue(): T; defaultValueIsSerializable?: boolean; };