Skip to content

fix(Card): TypeScript-fouten in Card.stories.tsx oplossen#121

Merged
jeffreylauwers merged 1 commit intomainfrom
fix/card-stories-typescript
Mar 26, 2026
Merged

fix(Card): TypeScript-fouten in Card.stories.tsx oplossen#121
jeffreylauwers merged 1 commit intomainfrom
fix/card-stories-typescript

Conversation

@jeffreylauwers
Copy link
Copy Markdown
Owner

Summary

  • PLACEHOLDER_16_9_B en PLACEHOLDER_16_9_C verwijderd (waren gedeclareerd maar nooit gebruikt — TS6133)
  • CardStoryArgs type toegevoegd (React.ComponentProps<typeof Card> & { showImage: boolean }) zodat showImage als custom story-arg correct getypeerd is (TS2353, TS2339)
  • Meta en StoryObj omgezet naar CardStoryArgs zodat TypeScript de custom arg herkent

Test plan

  • pnpm --filter storybook exec tsc --noEmit — 0 fouten
  • pnpm lint — 0 fouten

Closes #118

🤖 Generated with Claude Code

- PLACEHOLDER_16_9_B en PLACEHOLDER_16_9_C verwijderd (TS6133)
- CardStoryArgs type toegevoegd om showImage correct te typen (TS2353, TS2339)

Closes #118

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jeffreylauwers jeffreylauwers merged commit e5eec8a into main Mar 26, 2026
3 checks passed
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.

fix(Card): TypeScript-fouten in Card.stories.tsx oplossen

1 participant