RouteMatch
interface exported by @mwillbanks/tuil-router.
interface
Public interface exported by @mwillbanks/tuil-router.
export interface RouteMatch {
readonly route: string;
readonly params: Readonly<Record<string, unknown>>;
readonly component?: unknown;
readonly data?: unknown;
}Members
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
route | string | Yes | The route member uses the string contract. | — |
params | Readonly<Record<string, unknown>> | Yes | The params member uses the Readonly<Record<string, unknown>> contract. | — |
component | unknown | No | The component member uses the unknown contract. | — |
data | unknown | No | The data member uses the unknown contract. | — |
Parameters
This declaration has no public members.
Returns
This declaration does not return a value.
Throws
No thrown errors are documented for this declaration.
Related types
No package-local related types.
Source
View the secondary source reference