mirror of
https://github.com/photonstorm/phaser
synced 2024-11-15 17:28:18 +00:00
Split pixi.d.ts and phaser.d.ts
This commit is contained in:
parent
91bd2da5b6
commit
c3d2b7a90d
3 changed files with 1383 additions and 1358 deletions
1360
typescript/phaser.d.ts
vendored
1360
typescript/phaser.d.ts
vendored
File diff suppressed because it is too large
Load diff
1371
typescript/pixi.d.ts
vendored
Normal file
1371
typescript/pixi.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load diff
10
typescript/readme.txt
Normal file
10
typescript/readme.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
|
||||
If you are a phaser dev, just grab the whole directory as is. It is setup with sibling references and is the easiest way to get full typed support. Otherwise:
|
||||
|
||||
phaser.plugins.x.d.ts depend on phaser.d.ts and are optional.*
|
||||
phaser.d.ts depends on pixi.d.ts and so both these files are needed
|
||||
pixi.d.ts has no dependicies**
|
||||
|
||||
*If creating a third party plugin definition. Please add a reference path to point at phaser /// <reference path="phaser.d.ts" />
|
||||
|
||||
*Versions of TypeScript lower than version 1.0 may experience errors in pixi.d.ts due to missing WebGL definitions. Download this https://github.com/piersh/WebGL.ts and add the definition to the top of your pixi.d.ts file with a reference. /// <reference path="webgl.d.ts" /> to resolve these errors.
|
Loading…
Reference in a new issue