next-ucap-messenger/projects/ucap-webmessenger-enviroments/src/lib/ucap-enviroments.module.ts

24 lines
620 B
TypeScript
Raw Normal View History

2019-12-24 02:41:50 +00:00
import { NgModule, ModuleWithProviders } from '@angular/core';
import { CommonModule } from '@angular/common';
const COMPONENTS = [];
const DIALOGS = [];
const DIRECTIVES = [];
const PIPES = [];
const SERVICES = [];
@NgModule({
imports: [CommonModule],
exports: [...COMPONENTS, ...DIRECTIVES, ...PIPES],
declarations: [...COMPONENTS, ...DIALOGS, ...DIRECTIVES, ...PIPES],
entryComponents: [...DIALOGS]
})
export class UCapEnviromentsModule {
public static forRoot(): ModuleWithProviders<UCapEnviromentsModule> {
return {
ngModule: UCapEnviromentsModule,
providers: [...SERVICES]
};
}
}