The primitive types to use 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 '@gud/cli' { interface CustomOptionTypes { hex: `0x${string}`; hexArray: `0x${string}`[]; }} Copy
declare module '@gud/cli' { interface CustomOptionTypes { hex: `0x${string}`; hexArray: `0x${string}`[]; }}
The primitive types to use 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