Skip to content

Support typesafe CSF factories #294

@lishaduck

Description

@lishaduck

Storybook 9 introduces "Typesafe CSF factories" (storybookjs/storybook#30112). While I acknowledge that Svelte CSF is different from normal CSF and already handles many of the issues that that RFC addresses, it would still be useful if the new defineMain, definePreview and preview.meta (as opposed to the current createMeta) chain was available both for consistency (I spent a lot of time looking for it) and typesafety.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions