You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe
The docs don't get types directly from typescript. I have to describe my variables/functions with typescript, but have to describe again with docstring.
Describe the solution you'd like
I would like that docs addon could infer types from docstring and typescript too
Describe alternatives you've considered
Are you able to assist to bring the feature to reality?
Maybe. I was looking at the code, and seams that the lib used for the storybook sveltedoc-parser doesn't have support for analyze typescript: KatChaotic/sveltedoc-parser#34
Additional context
An example:
Create an app with svelte and TS, and add storybook
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!
Is your feature request related to a problem? Please describe
The docs don't get types directly from typescript. I have to describe my variables/functions with typescript, but have to describe again with docstring.
Describe the solution you'd like
I would like that docs addon could infer types from docstring and typescript too
Describe alternatives you've considered
Are you able to assist to bring the feature to reality?
Maybe. I was looking at the code, and seams that the lib used for the storybook
sveltedoc-parser
doesn't have support for analyze typescript: KatChaotic/sveltedoc-parser#34Additional context
An example:
main.js
The text was updated successfully, but these errors were encountered: