fix: edit JSDoc type for 'pairs' propterty of collision events, generate ts defs

This commit is contained in:
Jung Wook Park 2024-10-31 13:18:33 +09:00
parent c78b3a007d
commit 84dcbd63a5
No known key found for this signature in database
GPG key ID: 171E874E29B24866
6 changed files with 302588 additions and 302553 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "phaser",
"version": "3.80.0-beta.3",
"version": "3.86.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "phaser",
"version": "3.80.0-beta.3",
"version": "3.86.1",
"license": "MIT",
"dependencies": {
"eventemitter3": "^5.0.1"

View file

@ -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.

View file

@ -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.

View file

@ -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.

33331
types/phaser.d.ts vendored

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long