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.
declaration merging
declare module 'clide-js' { interface OptionCustomTypeMap { hex: `0x${string}`; hexArray: `0x${string}`[]; }} Copy
declare module 'clide-js' { interface OptionCustomTypeMap { hex: `0x${string}`; hexArray: `0x${string}`[]; }}
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.Example