Skip to content

Commit

Permalink
fix: edit JSDoc type for 'pairs' propterty of collision events, gener…
Browse files Browse the repository at this point in the history
…ate ts defs
  • Loading branch information
hatchling13 committed Oct 31, 2024
1 parent c78b3a0 commit 84dcbd6
Show file tree
Hide file tree
Showing 6 changed files with 234,637 additions and 234,602 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/physics/matter-js/events/COLLISION_ACTIVE_EVENT.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* @typedef {object} Phaser.Physics.Matter.Events.CollisionActiveEvent
*
* @property {Phaser.Types.Physics.Matter.MatterCollisionData[]} pairs - A list of all affected pairs in the collision.
* @property {Phaser.Types.Physics.Matter.MatterCollisionPair[]} pairs - A list of all affected pairs in the collision.
* @property {number} timestamp - The Matter Engine `timing.timestamp` value for the event.
* @property {any} source - The source object of the event.
* @property {string} name - The name of the event.
Expand Down
2 changes: 1 addition & 1 deletion src/physics/matter-js/events/COLLISION_END_EVENT.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* @typedef {object} Phaser.Physics.Matter.Events.CollisionEndEvent
*
* @property {Phaser.Types.Physics.Matter.MatterCollisionData[]} pairs - A list of all affected pairs in the collision.
* @property {Phaser.Types.Physics.Matter.MatterCollisionPair[]} pairs - A list of all affected pairs in the collision.
* @property {number} timestamp - The Matter Engine `timing.timestamp` value for the event.
* @property {any} source - The source object of the event.
* @property {string} name - The name of the event.
Expand Down
2 changes: 1 addition & 1 deletion src/physics/matter-js/events/COLLISION_START_EVENT.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* @typedef {object} Phaser.Physics.Matter.Events.CollisionStartEvent
*
* @property {Phaser.Types.Physics.Matter.MatterCollisionData[]} pairs - A list of all affected pairs in the collision.
* @property {Phaser.Types.Physics.Matter.MatterCollisionPair[]} pairs - A list of all affected pairs in the collision.
* @property {number} timestamp - The Matter Engine `timing.timestamp` value for the event.
* @property {any} source - The source object of the event.
* @property {string} name - The name of the event.
Expand Down
Loading

0 comments on commit 84dcbd6

Please sign in to comment.