16 lines
409 B
TypeScript
16 lines
409 B
TypeScript
|
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 {}
|