Skip to content

Docs: fix the suboptions in GroupCreateConfig#7264

Open
samme wants to merge 1 commit intophaserjs:v4.0.0from
samme:docs/v4.0.0/createMultiple-actions
Open

Docs: fix the suboptions in GroupCreateConfig#7264
samme wants to merge 1 commit intophaserjs:v4.0.0from
samme:docs/v4.0.0/createMultiple-actions

Conversation

@samme
Copy link
Contributor

@samme samme commented Mar 14, 2026

This PR

  • Updates the Documentation
  • Fixes a bug (TypeScript declarations)

In GroupCreateConfig JSDOC properties like setXY.x were being interpreted as verbatim property names for TypeScript, which was wrong, so I removed all of them.


Note

Low Risk
Low risk: this only updates GroupCreateConfig JSDoc to avoid incorrect TypeScript property inference; no runtime behavior changes.

Overview
Simplifies the Phaser.Types.GameObjects.Group.GroupCreateConfig JSDoc by removing nested sub-properties like setXY.x / setScale.stepX that were being misread as literal TypeScript fields.

The setXY, setRotation, setScale, setOrigin, setAlpha, setDepth, and setScrollFactor entries are now documented as option objects that follow the corresponding Phaser.Actions.* config shapes.

Written by Cursor Bugbot for commit 1ed61aa. This will update automatically on new commits. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant