angular4-notifications
Version:
An easy to use notification library for angular 2
34 lines (33 loc) • 1.71 kB
text/typescript
/**
* @fileoverview This file is generated by the Angular 2 template compiler.
* Do not edit.
* @suppress {suspiciousCode,uselessCode,missingProperties}
*/
/* tslint:disable */
import * as import0 from '@angular/core/src/linker/ng_module_factory';
import * as import1 from '../../src/push-notifications.module';
import * as import2 from '../../src/push-notifications.service';
import * as import3 from '@angular/core/src/di/injector';
class PushNotificationsModuleInjector extends import0.NgModuleInjector<import1.PushNotificationsModule> {
_PushNotificationsModule_0:import1.PushNotificationsModule;
__PushNotificationsService_1:import2.PushNotificationsService;
constructor(parent:import3.Injector) {
super(parent,([] as any[]),([] as any[]));
}
get _PushNotificationsService_1():import2.PushNotificationsService {
if ((this.__PushNotificationsService_1 == null)) { (this.__PushNotificationsService_1 = new import2.PushNotificationsService()); }
return this.__PushNotificationsService_1;
}
createInternal():import1.PushNotificationsModule {
this._PushNotificationsModule_0 = new import1.PushNotificationsModule();
return this._PushNotificationsModule_0;
}
getInternal(token:any,notFoundResult:any):any {
if ((token === import1.PushNotificationsModule)) { return this._PushNotificationsModule_0; }
if ((token === import2.PushNotificationsService)) { return this._PushNotificationsService_1; }
return notFoundResult;
}
destroyInternal():void {
}
}
export const PushNotificationsModuleNgFactory:import0.NgModuleFactory<import1.PushNotificationsModule> = new import0.NgModuleFactory(PushNotificationsModuleInjector,import1.PushNotificationsModule);