Storybook, Typescript, React, Vue, Svelte.
satisfies Meta<typeof Button>; export default meta; type Story = StoryObj<typeof meta>; export const Primary: Story = { args: { primary: true, }, }; Now if you forget to provide a required arg, you‘ll get a TypeScript error: Auto-infer component level args Even with label provided in our meta-level