Fixed up tsdocs

This commit is contained in:
Bertie690 2025-09-09 19:07:44 -04:00
parent f2198e60bf
commit 3780841e0d
3 changed files with 5 additions and 1 deletions

View File

@ -108,7 +108,7 @@ interface BaseArenaTag {
* the Pokemon currently on-field, only cleared on arena reset or through their respective {@linkcode ArenaTag.lapse | lapse} methods.
*/
export abstract class ArenaTag implements BaseArenaTag {
/** The type of the arena tag */
/** The type of the arena tag. */
public abstract readonly tagType: ArenaTagType;
// Intentionally left undocumented to inherit comments from interface
public turnCount: number;

View File

@ -1,3 +1,6 @@
import type { ArenaTag, ArenaTagTypeMap } from "#data/arena-tag";
import type { NonSerializableArenaTagType, SerializableArenaTagType } from "#types/arena-tags";
/**
* Enum representing all different types of {@linkcode ArenaTag}s.
* @privateRemarks

View File

@ -83,6 +83,7 @@ describe("Arena Tags", () => {
game.scene.arena.removeTagOnSide(tagType, side, false);
if (tag["onRemoveMessageKey"]) {
// TODO: Convert to `game.toHaveShownMessage`
expect(game.textInterceptor.logs).toContain(
i18next.t(tag["onRemoveMessageKey"], {
pokemonNameWithAffix: getPokemonNameWithAffix(tag["getSourcePokemon"]()),