import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { StoreModule } from '@ngrx/store';
import { StoreRouterConnectingModule } from '@ngrx/router-store';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { TestComponent } from './test.component';
@NgModule({
declarations: [AppComponent, TestComponent],
imports: [
BrowserModule,
AppRoutingModule,
StoreModule.forRoot(
{},
{
runtimeChecks: {
strictActionImmutability: true, // disable it to avoid the error
},
},
),
StoreRouterConnectingModule.forRoot(),
],
providers: [],
bootstrap: [AppComponent],
})
export class AppModule {}