diff --git a/src/data/ability.ts b/src/data/ability.ts index 5dd9a36b600..6fa35f86869 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -4847,8 +4847,8 @@ class ForceSwitchOutHelper { /** * Returns a message if the switch-out attempt fails due to ability effects. * - * @param {Pokemon} target The target Pokémon. - * @returns {string | null} The failure message, or null if no failure. + * @param target The target Pokémon. + * @returns The failure message, or `null` if no failure. */ getFailedText(target: Pokemon): string | null { const blockedByAbility = new Utils.BooleanHolder(false);