UNPKG

513 BTypeScriptView Raw
1import { Action } from '@ngrx/store';
2import { BaseRouterStoreState } from './serializers/base';
3import { SerializedRouterStateSnapshot } from './serializers/default_serializer';
4export declare type RouterReducerState<T extends BaseRouterStoreState = SerializedRouterStateSnapshot> = {
5 state: T;
6 navigationId: number;
7};
8export declare function routerReducer<T extends BaseRouterStoreState = SerializedRouterStateSnapshot>(state: RouterReducerState<T> | undefined, action: Action): RouterReducerState<T>;