Fix typescript compile error in 0.9.5

Explicitly specify type for parameters array
This commit is contained in:
gareththegeek
2014-01-16 14:43:28 +00:00
parent abdaaa0010
commit 1f9df6e3f4
+6 -6
View File
@@ -1353,11 +1353,11 @@ declare module Phaser {
static SECOND: number;
static HALF: number;
static QUARTER: number;
create(delay: number, loop: boolean, repeatCount: number, callback: any, callbackContext: any, ...): Phaser.TimerEvent;
add(delay: number, callback: any, callbackContext: any, ...): Phaser.TimerEvent;
repeat(delay: number, repeatCount: number, callback: any, callbackContext: any, ...): Phaser.TimerEvent;
create(delay: number, loop: boolean, repeatCount: number, callback: any, callbackContext: any, ...): Phaser.TimerEvent;
loop(delay: number, callback: any, callbackContext: any, ...): Phaser.TimerEvent;
create(delay: number, loop: boolean, repeatCount: number, callback: any, callbackContext: any, ...args: any[]): Phaser.TimerEvent;
add(delay: number, callback: any, callbackContext: any, ...args: any[]): Phaser.TimerEvent;
repeat(delay: number, repeatCount: number, callback: any, callbackContext: any, ...args: any[]): Phaser.TimerEvent;
create(delay: number, loop: boolean, repeatCount: number, callback: any, callbackContext: any, ...args: any[]): Phaser.TimerEvent;
loop(delay: number, callback: any, callbackContext: any, ...args: any[]): Phaser.TimerEvent;
start(): void;
stop(): void;
remove(event: Phaser.TimerEvent): boolean;
@@ -1967,4 +1967,4 @@ declare module Phaser {
game: Phaser.Game;
render(tilemap: Tilemap): void;
}
}
}