Skip to content

Commit e5dc470

Browse files
Updated TypeScript Readme to recommend TypeScript 1.4, and removed webgl.d.ts for that reason.
1 parent 421ed4a commit e5dc470

2 files changed

Lines changed: 3 additions & 690 deletions

File tree

typescript/readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
If you are a phaser dev then reference the `phaser.d.ts` in your project.
44

5-
- `phaser.d.ts` contains a reference to `pixi.d.ts` and so both these files must remain siblings in the same directory.
6-
- `pixi.d.ts` has no dependencies and can be used by pixi devs standalone*
5+
Please use TypeScript 1.4
76

8-
*Versions of TypeScript lower than version 1.0 may experience errors in `pixi.d.ts` due to missing WebGL definitions. If you fall into this category and cannot upgrade your version, then a `webgl.d.ts` has been provided but is disabled by default. Add this line to the top of the `pixi.d.ts` file `/// <reference path="webgl.d.ts" />`
7+
- `phaser.d.ts` contains a reference to `pixi.d.ts` and so both these files must remain siblings in the same directory.
8+
- `pixi.d.ts` has no dependencies and can be used by pixi devs standalone.
99

1010
## Contributing ##
1111

0 commit comments

Comments
 (0)