Skip to content

Commit e5f52e8

Browse files
committed
Update phaser.d.ts
GameObjectFactory.add.existing should return added object
1 parent 82cb66f commit e5f52e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build/phaser.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ declare module Phaser {
700700
constructor(game: Phaser.Game);
701701
game: Phaser.Game;
702702
world: Phaser.World;
703-
existing(object: any): boolean;
703+
existing(object: any): any;
704704
sprite(x: number, y: number, key?: string, frame?: any): Phaser.Sprite;
705705
child(parent: any, x: number, y: number, key?: string, frame?: number): Phaser.Sprite;
706706
tween(obj: Object): Phaser.Tween;

0 commit comments

Comments
 (0)