From 6a5b71db20f1bd8c9719e82f2f83a9f416c485bd Mon Sep 17 00:00:00 2001 From: NightKev <34855794+DayKev@users.noreply.github.com> Date: Sat, 2 Aug 2025 15:21:00 -0700 Subject: [PATCH] Fix TSDocs in `to-have-stat-stage.ts` --- test/test-utils/matchers/to-have-stat-stage.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/test-utils/matchers/to-have-stat-stage.ts b/test/test-utils/matchers/to-have-stat-stage.ts index b217f744a65..feecd650bef 100644 --- a/test/test-utils/matchers/to-have-stat-stage.ts +++ b/test/test-utils/matchers/to-have-stat-stage.ts @@ -1,3 +1,7 @@ +/** biome-ignore-start lint/correctness/noUnusedImports: TSDoc imports */ +import type { Pokemon } from "#field/pokemon"; +/** biome-ignore-end lint/correctness/noUnusedImports: TSDoc imports */ + import { getPokemonNameWithAffix } from "#app/messages"; import type { BattleStat } from "#enums/stat"; import { getStatName } from "#test/test-utils/string-utils"; @@ -5,9 +9,9 @@ import { isPokemonInstance, receivedStr } from "#test/test-utils/test-utils"; import type { MatcherState, SyncExpectationResult } from "@vitest/expect"; /** - * Matcher that checks if a Pokemon has a specific {@linkcode Stat} stage. + * Matcher that checks if a Pokemon has a specific {@linkcode BattleStat | Stat} stage. * @param received - The object to check. Should be a {@linkcode Pokemon}. - * @param stat - The {@linkcode Stat} to check + * @param stat - The {@linkcode BattleStat | Stat} to check * @param expectedStage - The expected numerical value of {@linkcode stat}; should be within the range `[-6, 6]` * @returns Whether the matcher passed */