-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.module.ts
43 lines (40 loc) · 1.41 KB
/
app.module.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http'
import { InitializerModule } from './initializer/initializer.module';
import { StoreModule } from '@ngrx/store';
import { EffectsModule } from '@ngrx/effects';
import { StoreDevtoolsModule } from '@ngrx/store-devtools';
import { environment } from '../environments/environment';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { AddBaseUrlInterceptorService } from './http_interceptors/add-base-url-interceptor.service';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
AppRoutingModule,
HttpClientModule,
InitializerModule,
StoreModule.forRoot({}, {
runtimeChecks:{
strictStateImmutability:true,
strictActionImmutability:true,
strictActionWithinNgZone:true,
strictActionTypeUniqueness:true,
strictStateSerializability:true,
strictActionSerializability:true
}
}),
EffectsModule.forRoot([]),
StoreDevtoolsModule.instrument({ maxAge: 25, logOnly: environment.production }),
BrowserAnimationsModule,
],
providers: [
],
bootstrap: [AppComponent]
})
export class AppModule { }