Interface OptionPrimitiveTypeMap

The primitive types for each option type.

This is used to map each option type to its corresponding primitive type. Using declaration merging, the types can be altered to make types more specific or extended for custom option types.

declare module 'clide-js' {
interface OptionPrimitiveTypeMap {
number: 0 | 1;
custom: CustomType;
}
}
interface OptionPrimitiveTypeMap {
    array: string[];
    boolean: boolean;
    number: number;
    secret: string;
    string: string;
}

Properties

array: string[]
boolean: boolean
number: number
secret: string
string: string