mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 15:03:24 +02:00
Fixed up tsdocs
This commit is contained in:
parent
f2198e60bf
commit
3780841e0d
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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"]()),
|
||||
|
Loading…
Reference in New Issue
Block a user