Skip to content

Commit 43537b4

Browse files
Removed any from Game constructor
Fixes phaserjs#1537
1 parent 48f590c commit 43537b4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

typescript/phaser.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,8 @@ declare module Phaser {
11261126

11271127
class Game {
11281128

1129-
constructor(width?: any, height?: any, renderer?: number, parent?: any, state?: any, transparent?: boolean, antialias?: boolean, physicsConfig?: any);
1129+
constructor(width?: string, height?: string, renderer?: number, parent?: any, state?: any, transparent?: boolean, antialias?: boolean, physicsConfig?: any);
1130+
constructor(width?: number, height?: number, renderer?: number, parent?: any, state?: any, transparent?: boolean, antialias?: boolean, physicsConfig?: any);
11301131
constructor(config: IGameConfig);
11311132

11321133
add: Phaser.GameObjectFactory;

0 commit comments

Comments
 (0)