From 950dd3229cd3a11c271e26ddf3f0eca9a61d97cf Mon Sep 17 00:00:00 2001 From: Marcos Paulo Date: Sat, 5 Sep 2026 07:14:53 +0000 Subject: [PATCH] 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. --- src/components/blocks/VoteWidget.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/blocks/VoteWidget.astro b/src/components/blocks/VoteWidget.astro index a3b99ad..66d387b 100644 --- a/src/components/blocks/VoteWidget.astro +++ b/src/components/blocks/VoteWidget.astro @@ -33,7 +33,7 @@ interface Props { const { skillId, tally, youVote, unavailable = false } = Astro.props; 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); --- {