Provider<TOption, TCtx>: ((this, context) => Map<TOption>)

Type Parameters

  • TOption extends ZOption = ZOption

    A type of option representation.

  • TCtx = unknown

    A type of option processing context required by parser.

Type declaration

    • (this, context): Map<TOption>
    • Options syntax provider signature.

      The provider is called at most once per parser call.

      Parameters

      • this: void
      • context: TCtx

        Option processing context.

      Returns Map<TOption>

      A map of option readers.

Generated using TypeDoc