-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
phaser.d.ts issue. #3869
Comments
the correct format should be:
etc... |
another BIG catch:
this namespace should be missed 's' in the JSDoc. |
I think there is still more errors in the .d.ts, is there a good way to fix? e.g. to create .d.ts project on github and everyone could do PR on it? |
The vast majority of them can be fixed by editing the JSDocs in the source code, from which the defs are generated. Changing the defs file directly won't help anyone, as it'll just be replaced the next time the parser is run. |
ok, I'll try to fix docs |
I found some errors in the .d.ts:
GameConfig:
I think this is correct:
but in .d.ts it was generated as
"render.pixelArt": boolean
.because this is auto-generated from JSDoc, so I can't modify it and make a PR.
actually If the item is an object in the GameConfig or other class, it will be generated as a wrong format in .d.ts.
The text was updated successfully, but these errors were encountered: