import { Action , createReducer } from '@ngrx/store' ; export interface State { } export const cartFeatureKey = 'cart' ; export const initialState = { } ; const cartReducer = createReducer ( initialState ) ; export function reducer ( state , action ) { return cartReducer ( state , action ) ; }