diff --git a/typescript/phaser.comments.d.ts b/typescript/phaser.comments.d.ts index d48b7f4ca..170585e38 100644 --- a/typescript/phaser.comments.d.ts +++ b/typescript/phaser.comments.d.ts @@ -20528,7 +20528,7 @@ declare module Phaser { * @param state Generator state to be set. * @return The current state of the generator. */ - state(state: string): string; + state(state?: string): string; /** * Returns a random timestamp between min and max, or between the beginning of 2000 and the end of 2020 if min and max aren't specified. diff --git a/typescript/phaser.d.ts b/typescript/phaser.d.ts index 2830202af..dd025ede9 100644 --- a/typescript/phaser.d.ts +++ b/typescript/phaser.d.ts @@ -3803,7 +3803,7 @@ declare module Phaser { real(): number; realInRange(min: number, max: number): number; sow(seeds: number[]): void; - state(state: string): string; + state(state?: string): string; timestamp(min: number, max: number): number; uuid(): number; weightedPick(ary: T[]): T;