From 429f288aef97f6ddd20ed564193ecb2df39a8dee Mon Sep 17 00:00:00 2001 From: Magnus Madsen Date: Mon, 3 Aug 2026 07:10:44 +0200 Subject: [PATCH] fix: add Props types to Carousel to satisfy astro check PR #173 (carousel) and PR #174 (astro check in CI) were each green but conflicted semantically: the untyped items prop produces four implicit-any errors under astro check, breaking CI on master. Co-Authored-By: Claude Fable 5 --- src/components/Carousel.astro | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/Carousel.astro b/src/components/Carousel.astro index ec61236..6bbd6c5 100644 --- a/src/components/Carousel.astro +++ b/src/components/Carousel.astro @@ -1,4 +1,9 @@ --- +interface Props { + items: { src: string; header: string }[]; + class?: string; +} + const { items, class: className } = Astro.props; ---