Antriel / phaser-ts2hx

Convert Phaser's TypeScript definitions to Haxe externs.
MIT License
3 stars 1 forks source link

phaser.PhaserTextStyle should be a typedef instead of interface #3

Open hexonaut opened 7 years ago

hexonaut commented 7 years ago

Not sure how you are reading this in, but phaser.PhaserTextStyle should be a typedef instead of an interface. There may be other cases like this.

Antriel commented 7 years ago

I didn't yet see how it behaves in usage with Haxe, but I was expecting this change. I will keep this in mind when I get back to work on this.

gogoprog commented 6 years ago

Any news on this?

Antriel commented 6 years ago

I will start work on Haxe externs for Phaser 3 as soon as the TS definitions are finalized. The externs generation will be based on the same TS generation code, so the result should be essentially equal to the TS defs. Since the process won't actually use the TS defs, this repo will be probably deprecated. I can't give any ETA atm, but I'm hoping it won't take long (I need the externs too).

gogoprog commented 6 years ago

Great :+1: