import { createSelector } from '@ngrx/store' ; import { IAppState } from '../state/app.state' ; import { IConfigState } from '../state/config.state' ; const configState = ( state ) => state . config ; export const selectConfig = createSelector ( configState , ( state ) => state . config ) ;