next-ucap-messenger/projects/ucap-webmessenger-protocol-room/src/lib/ucap-room-protocol.module.ts
2019-09-18 15:02:21 +09:00

20 lines
450 B
TypeScript

import { NgModule, ModuleWithProviders } from '@angular/core';
import { RoomProtocolService } from './services/room-protocol.service';
const SERVICES = [RoomProtocolService];
@NgModule({
declarations: [],
imports: [],
exports: []
})
export class UCapRoomProtocolModule {
public static forRoot(): ModuleWithProviders<UCapRoomProtocolModule> {
return {
ngModule: UCapRoomProtocolModule,
providers: [...SERVICES]
};
}
}