Type alias CaptureParserSuccess<T, C>
CaptureParserSuccess<T, C>:
{ captures: C; nextParser?: CaptureParser<any, any>; rest: string; result: T; success: true; }
Type declaration
-
captures: C
-
Optional
nextParser?: CaptureParser<any, any>
-
rest: string
-
result: T
-
success: true
Represents a parse success with captures. Notice nextParser is also a CaptureParser.