mirror of
https://github.com/wassname/phaser.git
synced 2026-07-05 17:30:19 +08:00
Merge pull request #317 from gareththegeek/patch-3
Allow Text.style to be any type
This commit is contained in:
Vendored
+2
-2
@@ -800,7 +800,7 @@ declare module Phaser {
|
||||
}
|
||||
|
||||
class Text {
|
||||
constructor(game: Phaser.Game, x: number, y: number, text: string, style: string);
|
||||
constructor(game: Phaser.Game, x: number, y: number, text: string, style: any);
|
||||
exists: boolean;
|
||||
alive: boolean;
|
||||
group: Phaser.Group;
|
||||
@@ -810,7 +810,7 @@ declare module Phaser {
|
||||
type: number;
|
||||
text: string;
|
||||
angle: number;
|
||||
style: string;
|
||||
style: any;
|
||||
visible: boolean;
|
||||
position: Phaser.Point;
|
||||
anchor: Phaser.Point;
|
||||
|
||||
Reference in New Issue
Block a user