Remove packages uncompatible with Ivy

This commit is contained in:
eugene-sinitsyn 2020-03-03 11:52:57 +03:00
parent 99e85ac0fe
commit d673c512ec
16 changed files with 62 additions and 69 deletions

View file

@ -153,13 +153,16 @@ export const NB_CORE_PROVIDERS = [
NbAuthModule,
],
declarations: [],
providers: [
...NB_CORE_PROVIDERS
]
})
export class CoreModule {
constructor(@Optional() @SkipSelf() parentModule: CoreModule) {
throwIfAlreadyLoaded(parentModule, 'CoreModule');
}
static forRoot(): ModuleWithProviders {
static forRoot(): ModuleWithProviders<CoreModule> {
return <ModuleWithProviders>{
ngModule: CoreModule,
providers: [