UNPKG

@ngrx/router-store

Version:

Bindings to connect @angular/router to @ngrx/store

13 lines (12 loc) 424 B
import { RouterStateSnapshot } from '@angular/router'; /** * Simple router state. * All custom router states / state serializers should have at least * the properties of this interface. */ export interface BaseRouterStoreState { url: string; } export declare abstract class RouterStateSerializer<T extends BaseRouterStoreState = BaseRouterStoreState> { abstract serialize(routerState: RouterStateSnapshot): T; }