import { Action , ActionReducerMap } from "@ngrx/store" ; export interface CounterListState { list : Array < number > ; } ; export const counterListReducers = { list : reducer } ; export function reducer ( state = [ ] , action ) { switch ( action . type ) { default : return state ; } }