mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +00:00
Fixes #1153
Previously the `Phaser.Keyboard` module's `lastKey` property was of type `string` in the TypeScript definition file, but it is actually a `Phaser.Key` object, so `build/phaser.d.ts` has been updated to reflect that.
This commit is contained in:
parent
da5a9482f6
commit
fe94d7f002
1 changed files with 1 additions and 1 deletions
2
build/phaser.d.ts
vendored
2
build/phaser.d.ts
vendored
|
@ -2614,7 +2614,7 @@ declare module Phaser {
|
|||
event: Object;
|
||||
game: Phaser.Game;
|
||||
lastChar: string;
|
||||
lastKey: string;
|
||||
lastKey: Phaser.Key;
|
||||
onDownCallback: Function;
|
||||
onPressCallback: Function;
|
||||
onUpCallback: Function;
|
||||
|
|
Loading…
Add table
Reference in a new issue