mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
dependency upgrades, server and platform module updates, linting wip
This commit is contained in:
@@ -40,13 +40,13 @@ const PROVIDERS = [
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [ ...IMPORTS ],
|
||||
imports: [...IMPORTS],
|
||||
declarations: [...DECLARATIONS],
|
||||
exports: [...EXPORTS],
|
||||
providers: [...PROVIDERS]
|
||||
})
|
||||
export class CoreModule {
|
||||
constructor (@Optional() @SkipSelf() parentModule: CoreModule) {
|
||||
constructor( @Optional() @SkipSelf() parentModule: CoreModule) {
|
||||
if (isNotEmpty(parentModule)) {
|
||||
throw new Error(
|
||||
'CoreModule is already loaded. Import it in the AppModule only');
|
||||
|
Reference in New Issue
Block a user