Instead of using declare namespace to share the types. This allows the generated code to be compiled with closure with full optimizations.
		
			
				
	
	
		
			14 lines
		
	
	
		
			467 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			467 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| /**
 | |
|  * @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
 | |
|  */
 | |
| 
 | |
| import {__platform_browser_private__ as r} from '@angular/platform-browser';
 | |
| 
 | |
| export var INTERNAL_BROWSER_PLATFORM_PROVIDERS: typeof r.INTERNAL_BROWSER_PLATFORM_PROVIDERS =
 | |
|     r.INTERNAL_BROWSER_PLATFORM_PROVIDERS;
 | |
| export var getDOM: typeof r.getDOM = r.getDOM;
 |