next-ucap-messenger/projects/ucap-webmessenger-app/src/app/app-provider.module.ts

16 lines
409 B
TypeScript
Raw Normal View History

2019-09-18 06:02:21 +00:00
import { NgModule } from '@angular/core';
import { SERVICES } from './services';
import { UCAP_NATIVE_SERVICE } from '@ucap-webmessenger/native';
import { ElectronNativeService } from '@ucap-webmessenger/native-electron';
@NgModule({
imports: [],
exports: [],
providers: [
...SERVICES,
{ provide: UCAP_NATIVE_SERVICE, useClass: ElectronNativeService }
]
})
export class AppProviderModule {}