fix tsdocs

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

View File

@ -4814,9 +4814,9 @@ class ForceSwitchOutHelper {
/**
* Determines if a Pokémon can switch out based on its status, the opponent's status, and battle conditions.
*
* @param {Pokemon} pokemon The Pokémon attempting to switch out.
* @param {Pokemon} opponent The opponent Pokémon.
* @returns {boolean} True if the switch-out condition is met, false otherwise.
* @param pokemon The Pokémon attempting to switch out.
* @param opponent The opponent Pokémon.
* @returns `true` if the switch-out condition is met
*/
getSwitchOutCondition(pokemon: Pokemon, opponent: Pokemon): boolean {
const switchOutTarget = pokemon;