Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

vipera-npm-registry / @wa-motif-open-api/license-management-service   js

Repository URL to install this package:

Version: 0.6.0 

/ esm5 / lib / api.module.js

/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { NgModule, SkipSelf, Optional } from '@angular/core';
import { Configuration } from './configuration';
import { HttpClient } from '@angular/common/http';
import { LicenseService } from './api/license.service';
var LicenseManagementServiceModule = /** @class */ (function () {
    function LicenseManagementServiceModule(parentModule, http) {
        if (parentModule) {
            throw new Error('LicenseManagementServiceModule is already loaded. Import in your base AppModule only.');
        }
        if (!http) {
            throw new Error('You need to import the HttpClientModule in your AppModule! \n' +
                'See also https://github.com/angular/angular/issues/20575');
        }
    }
    /**
     * @param {?} configurationFactory
     * @return {?}
     */
    LicenseManagementServiceModule.forRoot = /**
     * @param {?} configurationFactory
     * @return {?}
     */
    function (configurationFactory) {
        return {
            ngModule: LicenseManagementServiceModule,
            providers: [{ provide: Configuration, useFactory: configurationFactory }]
        };
    };
    LicenseManagementServiceModule.decorators = [
        { type: NgModule, args: [{
                    imports: [],
                    declarations: [],
                    exports: [],
                    providers: [
                        LicenseService
                    ]
                },] }
    ];
    /** @nocollapse */
    LicenseManagementServiceModule.ctorParameters = function () { return [
        { type: LicenseManagementServiceModule, decorators: [{ type: Optional }, { type: SkipSelf }] },
        { type: HttpClient, decorators: [{ type: Optional }] }
    ]; };
    return LicenseManagementServiceModule;
}());
export { LicenseManagementServiceModule };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B3YS1tb3RpZi1vcGVuLWFwaS9saWNlbnNlLW1hbmFnZW1lbnQtc2VydmljZS8iLCJzb3VyY2VzIjpbImxpYi9hcGkubW9kdWxlL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