storybookjs / addon-svelte-csf

[Incubation] CSF using Svelte components.
MIT License
98 stars 29 forks source link

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

Closed jericirenej closed 8 months ago

jericirenej commented 8 months ago

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?

jericirenej commented 8 months ago

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.