Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jericirenej opened this issue Nov 1, 2023 · 1 comment
Closed

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

jericirenej opened this issue Nov 1, 2023 · 1 comment

Comments

@jericirenej
Copy link

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant