mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 15:03:24 +02:00
Remove ...args in @param
and replace with args
This commit is contained in:
parent
7f664daae3
commit
e0976656a0
@ -38,6 +38,7 @@ type SerializableArenaTagTypeMap = Pick<ArenaTagTypeMap, SerializableArenaTagTyp
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Type mapping all `ArenaTag`s to type-safe representations of their serialized forms.
|
* Type mapping all `ArenaTag`s to type-safe representations of their serialized forms.
|
||||||
|
*
|
||||||
* @interface
|
* @interface
|
||||||
*/
|
*/
|
||||||
export type ArenaTagDataMap = {
|
export type ArenaTagDataMap = {
|
||||||
|
@ -3108,7 +3108,7 @@ export class BattleScene extends SceneBase {
|
|||||||
* Apply all modifiers that match `modifierType` in a random order
|
* Apply all modifiers that match `modifierType` in a random order
|
||||||
* @param modifierType The type of modifier to apply; must extend {@linkcode PersistentModifier}
|
* @param modifierType The type of modifier to apply; must extend {@linkcode PersistentModifier}
|
||||||
* @param player Whether to search the player (`true`) or the enemy (`false`); Defaults to `true`
|
* @param player Whether to search the player (`true`) or the enemy (`false`); Defaults to `true`
|
||||||
* @param ...args The list of arguments needed to invoke `modifierType.apply`
|
* @param args The list of arguments needed to invoke `modifierType.apply`
|
||||||
* @returns the list of all modifiers that matched `modifierType` and were applied.
|
* @returns the list of all modifiers that matched `modifierType` and were applied.
|
||||||
*/
|
*/
|
||||||
applyShuffledModifiers<T extends PersistentModifier>(
|
applyShuffledModifiers<T extends PersistentModifier>(
|
||||||
@ -3140,7 +3140,7 @@ export class BattleScene extends SceneBase {
|
|||||||
* Apply all modifiers that match `modifierType`
|
* Apply all modifiers that match `modifierType`
|
||||||
* @param modifierType The type of modifier to apply; must extend {@linkcode PersistentModifier}
|
* @param modifierType The type of modifier to apply; must extend {@linkcode PersistentModifier}
|
||||||
* @param player Whether to search the player (`true`) or the enemy (`false`); Defaults to `true`
|
* @param player Whether to search the player (`true`) or the enemy (`false`); Defaults to `true`
|
||||||
* @param ...args The list of arguments needed to invoke `modifierType.apply`
|
* @param args The list of arguments needed to invoke `modifierType.apply`
|
||||||
* @returns the list of all modifiers that matched `modifierType` and were applied.
|
* @returns the list of all modifiers that matched `modifierType` and were applied.
|
||||||
*/
|
*/
|
||||||
applyModifiers<T extends PersistentModifier>(
|
applyModifiers<T extends PersistentModifier>(
|
||||||
@ -3175,7 +3175,7 @@ export class BattleScene extends SceneBase {
|
|||||||
* Apply the first modifier that matches `modifierType`
|
* Apply the first modifier that matches `modifierType`
|
||||||
* @param modifierType The type of modifier to apply; must extend {@linkcode PersistentModifier}
|
* @param modifierType The type of modifier to apply; must extend {@linkcode PersistentModifier}
|
||||||
* @param player Whether to search the player (`true`) or the enemy (`false`); Defaults to `true`
|
* @param player Whether to search the player (`true`) or the enemy (`false`); Defaults to `true`
|
||||||
* @param ...args The list of arguments needed to invoke `modifierType.apply`
|
* @param args The list of arguments needed to invoke `modifierType.apply`
|
||||||
* @returns the first modifier that matches `modifierType` and was applied; return `null` if none matched
|
* @returns the first modifier that matches `modifierType` and was applied; return `null` if none matched
|
||||||
*/
|
*/
|
||||||
applyModifier<T extends PersistentModifier>(
|
applyModifier<T extends PersistentModifier>(
|
||||||
|
Loading…
Reference in New Issue
Block a user