From 47ee5a2c884758be08ab7f0402ab58eb090e0c83 Mon Sep 17 00:00:00 2001 From: gareththegeek Date: Thu, 16 Jan 2014 14:48:13 +0000 Subject: [PATCH] Allow Text.style to be any type To allow a configuration object to be used rather than a string --- build/phaser.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/phaser.d.ts b/build/phaser.d.ts index 316423f6..b7210502 100644 --- a/build/phaser.d.ts +++ b/build/phaser.d.ts @@ -799,7 +799,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; @@ -809,7 +809,7 @@ declare module Phaser { type: number; text: string; angle: number; - style: string; + style: any; visible: boolean; position: Phaser.Point; anchor: Phaser.Point; @@ -1967,4 +1967,4 @@ declare module Phaser { game: Phaser.Game; render(tilemap: Tilemap): void; } -} \ No newline at end of file +}