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

20 lines
462 B
TypeScript

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