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.

Home Page:http://phaser.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typescript definition problem

GregoireDucharme opened this issue · comments

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

  • An error in the TypeScript definitions

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