Interface TailContext<TRoute>

Route tail match context.

This is passed to tail route matcher to indicate the position after the end of the route the match should be applied to.

Type Parameters

  • TRoute extends PathRoute

    A type of tested route.

Hierarchy

Properties

entry?: undefined

undefined route entry indicating the position after the end of the route.

entryIndex: number

The length of the route path to indicate the position after the end of the route.

matcherIndex: number

The index of the matcher in the route pattern.

nameOffset: 0

Always zero to indicate the position after the end of the route.

pattern: RoutePattern<TRoute>

The route pattern the matcher belongs to.

route: TRoute

Target route.

Generated using TypeDoc