Commit f01049bfb1e869544677a1af5557a59c59fd77e7

Authored by Igor Kulikov
1 parent fd1a0692

Update ngrx config

... ... @@ -72,7 +72,15 @@ export function HttpLoaderFactory(http: HttpClient) {
72 72 HotkeyModule.forRoot(),
73 73
74 74 // ngrx
75   - StoreModule.forRoot(reducers, { metaReducers }),
  75 + StoreModule.forRoot(reducers,
  76 + { metaReducers,
  77 + runtimeChecks: {
  78 + strictStateImmutability: true,
  79 + strictActionImmutability: true,
  80 + strictStateSerializability: true,
  81 + strictActionSerializability: true
  82 + }}
  83 + ),
76 84 EffectsModule.forRoot(effects),
77 85 env.production
78 86 ? []
... ...