phaserjs / phaser-ce

Phaser CE is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.
http://phaser.io
MIT License
1.34k stars 491 forks source link

Typescript definition problem #645

Closed GregoireDucharme closed 4 years ago

GregoireDucharme commented 4 years ago

This Issue is about (pick one, ✏️ delete others)

g'day kind gentlemen

There is a mistake in this file:

https://github.com/photonstorm/phaser-ce/blob/master/typescript/pixi.comments.d.ts#L173

The constructor is not up to date:

See: https://github.com/photonstorm/phaser-ce/blob/master/src/gameobjects/Video.js#L271

The constructor used does not exist in the typescript definition file. thxbaïe