diff --git a/typescript/phaser.comments.d.ts b/typescript/phaser.comments.d.ts index 797c5b0fe..ebccee08e 100644 --- a/typescript/phaser.comments.d.ts +++ b/typescript/phaser.comments.d.ts @@ -7142,7 +7142,7 @@ declare module Phaser { * @param child The child to bring to the top of this group. * @return The child that was moved. */ - bringToTop(): PIXI.DisplayObject; + bringToTop(child: any): any; /** * Calls a function, specified by name, on all on children. @@ -7454,7 +7454,7 @@ declare module Phaser { * @param child The child to move down in the group. * @return The child that was moved. */ - moveDown(): PIXI.DisplayObject; + moveDown(child: any): any; /** * Moves the given child up one place in this group unless it's already at the top. diff --git a/typescript/phaser.d.ts b/typescript/phaser.d.ts index 9b23afe8f..31e26b8f6 100644 --- a/typescript/phaser.d.ts +++ b/typescript/phaser.d.ts @@ -1451,7 +1451,7 @@ declare module Phaser { addAll(property: string, amount: number, checkAlive: boolean, checkVisible: boolean): void; addAt(child: any, index: number, silent?: boolean): any; addMultiple(children: any[], silent?: boolean): any[]; - bringToTop(): PIXI.DisplayObject; + bringToTop(child: any): any; callAll(method: string, context: any, ...parameters: any[]): void; callAllExists(callback: Function, existsValue: boolean, ...parameters: any[]): void; callbackFromArray(child: any, callback: Function, length: number): void; @@ -1479,7 +1479,7 @@ declare module Phaser { getTop(): any; hasProperty(child: any, key: string[]): boolean; iterate(key: string, value: any, returnType: number, callback?: Function, callbackContext?: any, ...args: any[]): any; - moveDown(): PIXI.DisplayObject; + moveDown(child: any): any; moveUp(child: any): any; multiplyAll(property: string, amount: number, checkAlive: boolean, checkVisible: boolean): void; next(): void;