mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 23:42:18 +02:00
Fix TSDoc for Pokemon#getTypes
This commit is contained in:
parent
d550a6517e
commit
b76db335d9
@ -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[] = [];
|
||||
|
Loading…
Reference in New Issue
Block a user