-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Auto generate doc table using typescript from svelte components #16609
Comments
Working on typescript support in sveltedoc-parser package |
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! |
I have the same problem, did you found a solution? |
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: alexprey/sveltedoc-parser#34Additional context
An example:
main.js
The text was updated successfully, but these errors were encountered: