Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@NgModule({
declarations: [
AppComponent,
HomeComponent,
PipeComponent,
DirectiveComponent,
ApiComponent,
ValidationComponent,
OnPushComponent
],
imports: [
BrowserModule,
FormsModule,
AppRoutingModule,
HttpClientModule,
L10nTranslationModule.forRoot(
l10nConfig,
{
storage: AppStorage,
translationLoader: HttpTranslationLoader
}
),
L10nIntlModule,
L10nValidationModule.forRoot({ validation: LocaleValidation }),
L10nRoutingModule.forRoot()
],
providers: [
{
provide: APP_INITIALIZER,
useFactory: initL10n,
deps: [L10nLoader],
multi: true