2018-06-20 18:54:16 -04:00
|
|
|
/**
|
|
|
|
* @license
|
|
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
|
|
*
|
|
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
|
|
* found in the LICENSE file at https://angular.io/license
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This file exists to support compilation of @angular/core in Ivy mode.
|
|
|
|
*
|
|
|
|
* When the Angular compiler processes a compilation unit, it normally writes imports to
|
|
|
|
* @angular/core. When compiling the core package itself this strategy isn't usable. Instead, the
|
|
|
|
* compiler writes imports to this file.
|
|
|
|
*
|
|
|
|
* Only a subset of such imports are supported - core is not allowed to declare components or pipes.
|
|
|
|
* A check in ngtsc's translator.ts validates this condition.
|
|
|
|
*
|
|
|
|
* The below symbols are used for @Injectable and @NgModule compilation.
|
|
|
|
*/
|
|
|
|
|
2018-07-13 17:32:46 -04:00
|
|
|
export {InjectableDef as ɵInjectableDef, InjectorDef as ɵInjectorDef, defineInjectable, defineInjector} from './di/defs';
|
2018-10-23 17:28:15 -04:00
|
|
|
export {inject} from './di/injector_compatibility';
|
2018-10-06 11:03:56 -04:00
|
|
|
export {NgModuleDef as ɵNgModuleDef, NgModuleDefWithMeta as ɵNgModuleDefWithMeta} from './metadata/ng_module';
|
2018-06-20 18:54:16 -04:00
|
|
|
export {defineNgModule as ɵdefineNgModule} from './render3/definition';
|
2018-08-06 09:52:26 -04:00
|
|
|
export {NgModuleFactory as ɵNgModuleFactory} from './render3/ng_module_ref';
|
2018-06-20 18:54:16 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The existence of this constant (in this particular file) informs the Angular compiler that the
|
|
|
|
* current program is actually @angular/core, which needs to be compiled specially.
|
|
|
|
*/
|
|
|
|
export const ITS_JUST_ANGULAR = true;
|