Type Alias CustomCallback<P, I, R>

CustomCallback: (param: P, info: I) => R

A callback for custom parsing or custom completion.

Type Parameters

  • P

    The parameter data type

  • I

    The type of argument information

  • R

    The return type

Type declaration

    • (param: P, info: I): R
    • Parameters

      • param: P

        The option parameter(s)

      • info: I

        The argument information

      Returns R

      The return value