bosyeaiue Posted April 11, 2018 Share Posted April 11, 2018 Does this version support typescript? Link to comment Share on other sites More sharing options...
Antriel Posted April 11, 2018 Share Posted April 11, 2018 It's work in progress but yes: https://github.com/photonstorm/phaser3-docs/tree/master/typescript That said you can work with any JS without any defs in TS. So the answer to your question would be implicit yes. Link to comment Share on other sites More sharing options...
bosyeaiue Posted April 12, 2018 Author Share Posted April 12, 2018 If it can use ts is really great Link to comment Share on other sites More sharing options...
strivinglife Posted April 12, 2018 Share Posted April 12, 2018 Does anyone know if the workflow when using NodeJS is going to continue to be npm install phaser --save and then download the TS defs from the https://github.com/photonstorm/phaser3-docs repo? Or might we see the TS defs included as part of the phaser package? Link to comment Share on other sites More sharing options...
snowbillr Posted April 13, 2018 Share Posted April 13, 2018 Rich said in the latest news update (http://phaser.io/news/2018/04/phaser-340-released) that they will get merged into the core phaser repository in the future: Quote We've also published Phaser 3.4 versions of the TypeScript Definitions. Again, thanks to the community for helping iron out some of the issues with the defs, they're getting every more accurate and powerful with each version. Once we're happy the generation process is faultless we'll merge them into the core repo. strivinglife 1 Link to comment Share on other sites More sharing options...
Recommended Posts