mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-19 08:50:13 +01:00
Fix post-upgrade errors
This commit is contained in:
parent
d673c512ec
commit
88020acd3e
6 changed files with 17 additions and 25 deletions
|
|
@ -153,9 +153,6 @@ export const NB_CORE_PROVIDERS = [
|
|||
NbAuthModule,
|
||||
],
|
||||
declarations: [],
|
||||
providers: [
|
||||
...NB_CORE_PROVIDERS
|
||||
]
|
||||
})
|
||||
export class CoreModule {
|
||||
constructor(@Optional() @SkipSelf() parentModule: CoreModule) {
|
||||
|
|
@ -163,7 +160,7 @@ export class CoreModule {
|
|||
}
|
||||
|
||||
static forRoot(): ModuleWithProviders<CoreModule> {
|
||||
return <ModuleWithProviders>{
|
||||
return {
|
||||
ngModule: CoreModule,
|
||||
providers: [
|
||||
...NB_CORE_PROVIDERS,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue