diff --git a/src/data/ability.ts b/src/data/ability.ts index 649354e0bee..c9aaeddd593 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -917,7 +917,7 @@ export class PostDefendApplyBattlerTagAbAttr extends PostDefendAbAttr { } export class PostDefendTypeChangeAbAttr extends PostDefendAbAttr { - private type: Type; + private type: PokemonType; override canApplyPostDefend(pokemon: Pokemon, passive: boolean, simulated: boolean, attacker: Pokemon, move: Move, hitResult: HitResult, args: any[]): boolean { this.type = attacker.getMoveType(move);