From e0976656a0a11934517fcb27e97e7576a0c0deef Mon Sep 17 00:00:00 2001 From: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com> Date: Wed, 10 Sep 2025 13:08:53 -0500 Subject: [PATCH] Remove ...args in `@param` and replace with args --- src/@types/arena-tags.ts | 1 + src/battle-scene.ts | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/@types/arena-tags.ts b/src/@types/arena-tags.ts index 390d95a7daa..c340102e7be 100644 --- a/src/@types/arena-tags.ts +++ b/src/@types/arena-tags.ts @@ -38,6 +38,7 @@ type SerializableArenaTagTypeMap = Pick( @@ -3140,7 +3140,7 @@ export class BattleScene extends SceneBase { * Apply all modifiers that match `modifierType` * @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 ...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. */ applyModifiers( @@ -3175,7 +3175,7 @@ export class BattleScene extends SceneBase { * Apply the first modifier that matches `modifierType` * @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 ...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 */ applyModifier(