This repository was archived by the owner on Feb 17, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -647,8 +647,8 @@ declare module "angular2/angular2" {
647
647
var ___esModule : any ;
648
648
var ViewRef : any ;
649
649
var ProtoViewRef : any ;
650
- var ViewContainerRef : any ;
651
- var ElementRef : any ;
650
+ class ViewContainerRef { }
651
+ class ElementRef { }
652
652
var AncestorAnnotation : any ;
653
653
var ParentAnnotation : any ;
654
654
interface OnChange { }
@@ -666,8 +666,14 @@ declare module "angular2/angular2" {
666
666
interface NativeShadowDomStrategy { }
667
667
interface EmulatedScopedShadowDomStrategy { }
668
668
interface EmulatedUnscopedShadowDomStrategy { }
669
- interface ComponentRef { }
670
- interface DynamicComponentLoader { }
669
+ interface ComponentRef {
670
+ instance : any ;
671
+ dispose ( ) : void ;
672
+ }
673
+ class DynamicComponentLoader {
674
+ loadIntoNewLocation ( type : any , b : any , c : any , d ?: any ) : Promise < ComponentRef > ;
675
+ loadNextToExistingLocation ( a : any , b : any , c : any ) : Promise < ComponentRef > ;
676
+ }
671
677
var ComponentAnnotation : any ;
672
678
var DirectiveAnnotation : any ;
673
679
var onDestroy : any ;
@@ -723,7 +729,9 @@ declare module "angular2/di" {
723
729
*
724
730
*/
725
731
function bind ( token : any ) : any ;
726
- var Injector : any ;
732
+ class Injector {
733
+ resolveAndCreateChild ( bindings : [ any ] ) : Injector ;
734
+ }
727
735
var Binding : any ;
728
736
var ResolvedBinding : any ;
729
737
var Dependency : any ;
You can’t perform that action at this time.
0 commit comments