Repository URL to install this package:
/**
* @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 { E2eService } from './api/e2e.service';
var End2EndEncryptionServiceModule = /** @class */ (function () {
function End2EndEncryptionServiceModule(parentModule, http) {
if (parentModule) {
throw new Error('End2EndEncryptionServiceModule 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 {?}
*/
End2EndEncryptionServiceModule.forRoot = /**
* @param {?} configurationFactory
* @return {?}
*/
function (configurationFactory) {
return {
ngModule: End2EndEncryptionServiceModule,
providers: [{ provide: Configuration, useFactory: configurationFactory }]
};
};
End2EndEncryptionServiceModule.decorators = [
{ type: NgModule, args: [{
imports: [],
declarations: [],
exports: [],
providers: [
E2eService
]
},] }
];
/** @nocollapse */
End2EndEncryptionServiceModule.ctorParameters = function () { return [
{ type: End2EndEncryptionServiceModule, decorators: [{ type: Optional }, { type: SkipSelf }] },
{ type: HttpClient, decorators: [{ type: Optional }] }
]; };
return End2EndEncryptionServiceModule;
}());
export { End2EndEncryptionServiceModule };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B3YS1tb3RpZi1vcGVuLWFwaS9lMmUtZW5jcnlwdGlvbi1zZXJ2aWNlLyIsInNvdXJjZXMiOlsibGliL2FwaS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQXVCLFFBQVEsRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbEYsT0FBTyxFQUFFLGFBQWEs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