Skip to content

Commit 23e14b4

Browse files
authored
Merge pull request phaserjs#2880 from Aleksey-Danchin/patch-1
Update phaser.d.ts
2 parents 7883a7d + d30f869 commit 23e14b4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

v2-community/typescript/phaser.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1791,9 +1791,9 @@ declare module Phaser {
17911791
destroy(destroyChildren?: boolean, soft?: boolean): void;
17921792
divideAll(property: string, amount: number, checkAlive?: boolean, checkVisible?: boolean): void;
17931793
forEach(callback: Function, callbackContext: any, checkExists?: boolean, ...args: any[]): void;
1794-
forEachAlive(callback: Function, callbackContext: any, ...args: any[]): void;
1795-
forEachDead(callback: Function, callbackContext: any, ...args: any[]): void;
1796-
forEachExists(callback: Function, callbackContext: any): void;
1794+
forEachAlive(callback: Function, callbackContext?: any, ...args: any[]): void;
1795+
forEachDead(callback: Function, callbackContext?: any, ...args: any[]): void;
1796+
forEachExists(callback: Function, callbackContext?: any): void;
17971797
filter(predicate: Function, checkExists?: boolean): ArraySet;
17981798
getAt(index: number): PIXI.DisplayObject | number;
17991799
getBottom(): any;

0 commit comments

Comments
 (0)