Type alias Input<Route, I>

Input<Route, I>: I & {
    path: Match<Route>;
}

Input type combining the route input with the route parameters

Type Parameters

  • Route extends string

    String literal type representing the route

  • I extends RouterContext

    Route input

Type declaration

Generated using TypeDoc