Interface OptionPrimitiveTypeMap

The primitive types for OptionConfig.customType custom option types.

This is used to map each custom option type to its corresponding primitive type. Use declaration merging, to extend this interface with your custom types.

declare module 'clide-js' {
interface OptionCustomTypeMap {
hex: `0x${string}`;
hexArray: `0x${string}`[];
}
}
interface OptionPrimitiveTypeMap {
    array: string[];
    boolean: boolean;
    number: number;
    secret: string;
    string: string;
}

Hierarchy (View Summary)

Properties

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