phaser and typescript