This requires some hacks, documented in https://docs.google.com/document/d/1nNebWTiLzz5ePcit_bjZPtaiSIFU4EsQKUlX7LX0c0A/edit Changes: - include subtyping info in angular2.d.ts by adding 'extends supertype' - export missing symbols needed transitively by angular2/angular2 - because of decorator/annotation mismatch, we can't export these to applications. So I've added a separate angular2.api.ts file to re-export specifically to .d.ts generation. - Hack to remove aliases introduced by 'import * as alias' syntax - Hack to deal with Error still an interface note that we require users to install the transitive dependencies - this is how TSD works.
		
			
				
	
	
		
			3 lines
		
	
	
		
			126 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			3 lines
		
	
	
		
			126 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
| library angular2.angular2.api;
 | |
| // Ignore this file for dart emit.
 | |
| // It is used only for generating the TypeScript .d.ts file. |