Updated TS Parser

This commit is contained in:
Richard Davey 2020-11-23 15:33:51 +00:00
parent ea2f69de3b
commit 16a4ad7696
4 changed files with 4 additions and 2 deletions

View file

@ -75,6 +75,7 @@ class Parser {
case 'Phaser.Scale.ScaleModes': case 'Phaser.Scale.ScaleModes':
case 'Phaser.Scale.Zoom': case 'Phaser.Scale.Zoom':
case 'Phaser.Textures.FilterMode': case 'Phaser.Textures.FilterMode':
case 'Phaser.Tilemaps.Orientation':
// console.log('Forcing enum for ' + doclet.longname); // console.log('Forcing enum for ' + doclet.longname);
doclet.kind = 'member'; doclet.kind = 'member';
doclet.isEnum = true; doclet.isEnum = true;

File diff suppressed because one or more lines are too long

View file

@ -102,6 +102,7 @@ export class Parser {
case 'Phaser.Scale.ScaleModes': case 'Phaser.Scale.ScaleModes':
case 'Phaser.Scale.Zoom': case 'Phaser.Scale.Zoom':
case 'Phaser.Textures.FilterMode': case 'Phaser.Textures.FilterMode':
case 'Phaser.Tilemaps.Orientation':
// console.log('Forcing enum for ' + doclet.longname); // console.log('Forcing enum for ' + doclet.longname);
doclet.kind = 'member'; doclet.kind = 'member';
doclet.isEnum = true; doclet.isEnum = true;

View file

@ -2,7 +2,7 @@ var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) { var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf || extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b); return extendStatics(d, b);
}; };
return function (d, b) { return function (d, b) {