import { RouterReducerState } from '@ngrx/router-store' ; import { IUserState , initialUserState } from './user.state' ; import { initialConfigState , IConfigState } from './config.state' ; export interface IAppState { router ? : RouterReducerState ; users : IUserState ; config : IConfigState ; } export const initialAppState = { users : initialUserState , config : initialConfigState } ; export function getInitialState ( ) { return initialAppState ; }