UNPKG

@kaltura-ng/kaltura-client

Version:
37 lines 1.3 kB
import { NgModule, Optional, SkipSelf } from '@angular/core'; import { KalturaClient } from './kaltura-client.service'; import { KalturaClientConfiguration } from './kaltura-client-configuration.service'; var KalturaClientModule = (function () { function KalturaClientModule(module) { if (module) { throw new Error("'KalturaClientModule' module imported twice."); } } KalturaClientModule.forRoot = function (configuration) { return { ngModule: KalturaClientModule, providers: [ KalturaClient, { provide: KalturaClientConfiguration, useValue: configuration } ] }; }; KalturaClientModule.decorators = [ { type: NgModule, args: [{ imports: [], declarations: [], exports: [], providers: [] },] }, ]; /** @nocollapse */ KalturaClientModule.ctorParameters = function () { return [ { type: KalturaClientModule, decorators: [{ type: Optional }, { type: SkipSelf },] }, ]; }; return KalturaClientModule; }()); export { KalturaClientModule }; //# sourceMappingURL=kaltura-client.module.js.map