@ngworker/router-component-store
Version:
A strictly typed lightweight alternative to NgRx Router Store (@ngrx/router-store) and ActivatedRoute
9 lines (8 loc) • 341 B
TypeScript
import { Data } from '@angular/router';
import { OmitSymbolIndex } from './util-types/omit-symbol-index';
import { StrictNoAny } from './util-types/strict-no-any';
/**
* @remarks We use this type to ensure compatibility with {@link Data}.
* @internal
*/
export type InternalStrictRouteData = Readonly<StrictNoAny<OmitSymbolIndex<Data>>>;