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

@ -74,9 +74,17 @@ const PIPES = [
imports: [CommonModule, ...NB_MODULES],
exports: [CommonModule, ...PIPES, ...COMPONENTS],
declarations: [...COMPONENTS, ...PIPES],
providers: [
...NbThemeModule.forRoot(
{
name: 'default',
},
[ DEFAULT_THEME, COSMIC_THEME, CORPORATE_THEME, DARK_THEME ],
).providers,
]
})
export class ThemeModule {
static forRoot(): ModuleWithProviders {
static forRoot(): ModuleWithProviders<ThemeModule> {
return <ModuleWithProviders>{
ngModule: ThemeModule,
providers: [