@ngworker/router-component-store
Version:
A strictly typed lightweight alternative to NgRx Router Store (@ngrx/router-store) and ActivatedRoute
11 lines (10 loc) • 318 B
TypeScript
/**
* Serializable route `Data` without its symbol index, in particular without the
* `Symbol(RouteTitle)` key as this is an internal value for the Angular
* `Router`.
*
* Additionally, the `any` member type is converted to `unknown`.
*/
export interface StrictRouteData {
readonly [key: string]: unknown;
}