diff --git a/README.md b/README.md index 92b8e57..d805231 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ npm install ngrx-store-localstorage --save ```ts import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; -import { StoreModule, ActionReducerMap, ActionReducer } from '@ngrx/store'; +import { StoreModule, ActionReducerMap, ActionReducer, MetaReducer } from '@ngrx/store'; import { localStorageSync } from 'ngrx-store-localstorage'; import { reducers } from './reducers'; @@ -25,7 +25,7 @@ const reducers: ActionReducerMap = {todos, visibilityFilter}; export function localStorageSyncReducer(reducer: ActionReducer): ActionReducer { return localStorageSync({keys: ['todos']})(reducer); } -const metaReducers: Array> = [localStorageSyncReducer]; +const metaReducers: Array> = [localStorageSyncReducer]; @NgModule({ imports: [