Showing
1 changed file
with
9 additions
and
1 deletions
... | ... | @@ -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 | ? [] | ... | ... |