photonstorm/phaser — pull request #607 by clark-stevenson (2014-03-19 15:10:17+00:00)
Title: Update phaser.d.ts

SAT removed
Physics modules should all be updated correctly #599
Misc updates from the last week of dev.

So the TS is upto date and it should be easy to maintain with the latest changes.

The only thing that bothers me is the historic references to <2.0 and the pre-pixi "any". That kind of thing will be my next update.

My final questions though are these!

1) displayObject: any can this now be considered PIXI.DisplayObject or should I keep "any"?

2) When an argument can either be a string or a number. Are you stuck with "any" or is there a concept I am missing in TypeScript? It is the same with stuff like "p2.Constraint". In this situation, is it wise to create an IConstraint which all constraints implement, rather than having "any" or is that just even more confusing?

I would like my next pass through to be as acceptable as possible.