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:
		
							parent
							
								
									696a9b01ef
								
							
						
					
					
						commit
						a18f82b458
					
				| @ -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'; | ||||
|  | ||||
| @ -292,5 +292,8 @@ export { | ||||
|   ɵɵsanitizeUrl, | ||||
|   ɵɵsanitizeUrlOrResourceUrl, | ||||
| } from './sanitization/sanitization'; | ||||
| export { | ||||
|   noSideEffects as ɵnoSideEffects, | ||||
| } from './util/closure'; | ||||
| 
 | ||||
| // clang-format on
 | ||||
|  | ||||
| @ -28,6 +28,7 @@ export {ɵɵdefineNgModule} from './render3/definition'; | ||||
| export {ɵɵFactoryDef} from './render3/interfaces/definition'; | ||||
| export {setClassMetadata} from './render3/metadata'; | ||||
| export {NgModuleFactory} from './render3/ng_module_ref'; | ||||
| export {noSideEffects as ɵnoSideEffects} from './util/closure'; | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user