Type alias SupportedZOptions<TOption, TCtx>

SupportedZOptions<TOption, TCtx>: Map<TOption> | Provider<TOption, TCtx> | readonly (Map<TOption> | Provider<TOption, TCtx>)[]

A set of options supported by parser.

This is either a map of option readers, its provider, or an array of the above. Multiple readers may be specified per option key with the latter.

Type Parameters

  • TOption extends ZOption = ZOption

    A type of option representation.

  • TCtx = unknown

    A type of option processing context required by parser.

Generated using TypeDoc