Type alias CaptureParserSuccess<T, C>

CaptureParserSuccess<T, C>: {
    captures: C;
    nextParser?: CaptureParser<any, any>;
    rest: string;
    result: T;
    success: true;
}

Represents a parse success with captures. Notice nextParser is also a CaptureParser.

Type Parameters

Type declaration

  • captures: C
  • Optional nextParser?: CaptureParser<any, any>
  • rest: string
  • result: T
  • success: true

Generated using TypeDoc