mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-22 11:40:10 +08:00
Fix easel.js addChildAt declaration
This commit is contained in:
Vendored
+1
-2
@@ -223,8 +223,7 @@ module createjs {
|
||||
|
||||
// methods
|
||||
addChild(...child: DisplayObject[]): DisplayObject;
|
||||
//addChildAt(...child: DisplayObject[], index: number): DisplayObject; //HERE typescript doesnt like having an argument after the variable length argument
|
||||
addChildAt(...child: any[]): DisplayObject;
|
||||
addChildAt(...childOrIndex: any[]): DisplayObject; // actually (...child: DisplayObject[], index: number)
|
||||
clone(recursive?: bool): Container;
|
||||
contains(child: DisplayObject): bool;
|
||||
getChildAt(index: number): DisplayObject;
|
||||
|
||||
Reference in New Issue
Block a user