storybookjs / addon-svelte-csf

[Incubation] CSF using Svelte components.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Posible to have typed args in the `<Template />` component?

jericirenej opened this issue Β· comments

First of all, compliments for a great addon that allows for creating stories in a Svelte-like manner πŸ‘

Currently, when declaring let:args, the args themselves are typed as any. Is it possible somehow to make the types correspond to the props that are defined in the target component?

I see that this issue was already brought up in #68. As I understand this is more of an issue with Svelte than with the current addon.