Fix TSDoc for Pokemon#getTypes

This commit is contained in:
NightKev 2025-05-05 18:06:42 -07:00
parent d550a6517e
commit b76db335d9

View File

@ -2074,13 +2074,13 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
* @param includeTeraType - `true` to include tera-formed type; Default: `false`
* @param forDefend - `true` if the pokemon is defending from an attack; Default: `false`
* @param ignoreOverride - If `true`, ignore ability changing effects; Default: `false`
* @param useIllusion - `true` to return the types of the illusion instead of the actual types; "AUTO" will depend on forDefend param; Default: "AUTO"
* @param useIllusion - `true` to return the types of the illusion instead of the actual types; Default: `false`
* @returns array of {@linkcode PokemonType}
*/
public getTypes(
includeTeraType = false,
forDefend: boolean = false,
ignoreOverride?: boolean,
ignoreOverride: boolean = false,
useIllusion: boolean = false
): PokemonType[] {
const types: PokemonType[] = [];