Storybook, Typescript, React, Vue, Svelte.
label arg. TypeScript should be raising an error about that, but it isn't. Let's use satisfies operator to fix this issue. // Button.stories.tsx import type { Meta, StoryObj } from '@storybook/react'; import { Button } from './Button'; const meta = { title: 'Example/Button', component: Button, }