fix tsdocs

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
muscode 2024-11-01 10:19:56 -06:00 committed by GitHub
parent d57c800a88
commit c6e758ee78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);