angular4-notifications
Version:
An easy to use notification library for angular 2
39 lines (38 loc) • 1.98 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/simple-notifications.module';
import * as import2 from '@angular/common/src/common_module';
import * as import3 from '@angular/common/src/localization';
import * as import4 from '@angular/core/src/di/injector';
import * as import5 from '@angular/core/src/i18n/tokens';
class SimpleNotificationsModuleInjector extends import0.NgModuleInjector<import1.SimpleNotificationsModule> {
_CommonModule_0:import2.CommonModule;
_SimpleNotificationsModule_1:import1.SimpleNotificationsModule;
__NgLocalization_2:import3.NgLocaleLocalization;
constructor(parent:import4.Injector) {
super(parent,([] as any[]),([] as any[]));
}
get _NgLocalization_2():import3.NgLocaleLocalization {
if ((this.__NgLocalization_2 == null)) { (this.__NgLocalization_2 = new import3.NgLocaleLocalization(this.parent.get(import5.LOCALE_ID))); }
return this.__NgLocalization_2;
}
createInternal():import1.SimpleNotificationsModule {
this._CommonModule_0 = new import2.CommonModule();
this._SimpleNotificationsModule_1 = new import1.SimpleNotificationsModule();
return this._SimpleNotificationsModule_1;
}
getInternal(token:any,notFoundResult:any):any {
if ((token === import2.CommonModule)) { return this._CommonModule_0; }
if ((token === import1.SimpleNotificationsModule)) { return this._SimpleNotificationsModule_1; }
if ((token === import3.NgLocalization)) { return this._NgLocalization_2; }
return notFoundResult;
}
destroyInternal():void {
}
}
export const SimpleNotificationsModuleNgFactory:import0.NgModuleFactory<import1.SimpleNotificationsModule> = new import0.NgModuleFactory(SimpleNotificationsModuleInjector,import1.SimpleNotificationsModule);