Type alias Context<T>

Context<T>: {
    matched: Matched<T>[];
    index: number;
    router: RouterInstance<BaseRoute>;
    location: Location;
    params: Record<string, string>;
}

Type Parameters

  • T extends BaseRoute

Type declaration

  • matched: Matched<T>[]
  • index: number
  • router: RouterInstance<BaseRoute>
  • location: Location
  • params: Record<string, string>

Generated using TypeDoc