Skip to content

fix: add Props types to Carousel to satisfy astro check - #177

Merged
magnus-madsen merged 1 commit into
masterfrom
fix-carousel-check
Aug 3, 2026
Merged

fix: add Props types to Carousel to satisfy astro check#177
magnus-madsen merged 1 commit into
masterfrom
fix-carousel-check

Conversation

@magnus-madsen

Copy link
Copy Markdown
Member

Summary

Fixes the CI failure on master. PR #173 (restore carousel) and PR #174 (add astro check to CI) were each green on their own branches, but conflict semantically: the carousel's untyped items prop produces four implicit-any errors (ts(7006)) under astro check, which broke CI once both merged.

This adds a Props interface to Carousel.astro typing items as { src: string; header: string }[] (matching the vscodeSlides data in index.astro) and class as an optional string.

Testing

  • npm run check — 0 errors, 0 warnings, 0 hints (was 4 errors)
  • npm run build — completes cleanly, all 10 pages generated

🤖 Generated with Claude Code

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 <noreply@anthropic.com>
@magnus-madsen
magnus-madsen merged commit 4b7e18c into master Aug 3, 2026
2 checks passed
@magnus-madsen
magnus-madsen deleted the fix-carousel-check branch August 3, 2026 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant