fix(review-blocks): annotate share() param to satisfy astro check

Task 11 reported `pnpm run verify` green, which was true, but the brief
asks for `pnpm run gate` -- and the gate also runs astro check, which
failed on ts(7006) implicit any.
This commit is contained in:
Marcos Paulo
2026-09-05 07:14:53 +00:00
parent ba460f5b8b
commit 950dd3229c
+1 -1
View File
@@ -33,7 +33,7 @@ interface Props {
const { skillId, tally, youVote, unavailable = false } = Astro.props; const { skillId, tally, youVote, unavailable = false } = Astro.props;
const total = (tally.original || 0) + (tally.improved || 0); const total = (tally.original || 0) + (tally.improved || 0);
const share = (count) => (total ? Math.round((count / total) * 100) : 0); const share = (count: number) => (total ? Math.round((count / total) * 100) : 0);
--- ---
{ {