Browse Source

replace forRoot with withConfig

pull/7077/head
Arman Ozak 6 years ago
parent
commit
e8a4f89fd2
  1. 2
      npm/ng-packs/packages/theme-basic/testing/src/lib/theme-basic-testing.module.ts

2
npm/ng-packs/packages/theme-basic/testing/src/lib/theme-basic-testing.module.ts

@ -12,7 +12,7 @@ import { VALIDATION_ERROR_TEMPLATE, VALIDATION_TARGET_SELECTOR } from '@ngx-vali
imports: [BaseThemeBasicModule], imports: [BaseThemeBasicModule],
}) })
export class ThemeBasicTestingModule { export class ThemeBasicTestingModule {
static forRoot(): ModuleWithProviders<ThemeBasicTestingModule> { static withConfig(): ModuleWithProviders<ThemeBasicTestingModule> {
return { return {
ngModule: ThemeBasicTestingModule, ngModule: ThemeBasicTestingModule,
providers: [ providers: [

Loading…
Cancel
Save