Open 01oseluiz opened 2 years ago
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: https://github.com/alexprey/sveltedoc-parser/issues/34Additional context An example:
main.js