refactor(core): add noSideEffects() as private export (#38320)

This is to enable the compiler to generate `noSideEffects()` calls. This is a private export, gated by `ɵ`.

PR Close #38320
This commit is contained in:
Doug Parker
2020-07-31 17:25:08 -07:00
committed by Andrew Kushnir
parent 696a9b01ef
commit a18f82b458
3 changed files with 5 additions and 0 deletions

View File

@ -65,6 +65,7 @@ const CORE_SUPPORTED_SYMBOLS = new Map<string, string>([
['ɵɵInjectorDef', 'ɵɵInjectorDef'],
['ɵɵNgModuleDefWithMeta', 'ɵɵNgModuleDefWithMeta'],
['ɵNgModuleFactory', 'NgModuleFactory'],
['ɵnoSideEffects', 'ɵnoSideEffects'],
]);
const CORE_MODULE = '@angular/core';