Closed balazsorban44 closed 4 years ago
Sorry but as you've said yourself, this is an issue with Storybook, not TSDX, so sounds you've filed this issue in the wrong repo.
TSDX doesn't use Storybook, it just provides a template for you to use it. Please file an issue with Storybook if you're having an issue with Storybook.
Current Behavior
I have a setup with Storybook, from the official template. When I try to add a comment to my function, storybook throws the following error: The file has only 43 lines of code, so the second error does not even make sense to me. It only occurs, if the function is exported.
Empty comment also works, even if exported (either named or default export works)
Any comment with export (either named or default) fails.
Expected behavior
Should allow adding comments to functions
Suggested solution(s)
This is a bug I have never come across, so I have no idea how to fix it.
Additional context
I only did one change to the original template, I like to keep related code next to each other, so I changed the folder structure:
Your environment