mirror of
https://github.com/wassname/phaser.git
synced 2026-10-30 13:30:49 +08:00
Fix typescript compile error in 0.9.5
Explicitly specify type for parameters array
This commit is contained in:
1 parent
abdaaa0010
commit
1f9df6e3f4
1 file changed
+6
-6
Vendored
+6
-6
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user