Skip to content
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

Cannot read property 'length' of undefined #363

Closed
hazem3500 opened this issue Jun 6, 2021 · 0 comments · Fixed by #364
Closed

Cannot read property 'length' of undefined #363

hazem3500 opened this issue Jun 6, 2021 · 0 comments · Fixed by #364

Comments

@hazem3500
Copy link
Contributor

In storybook, I get the error

70% sealing React Docgen Typescript Plugin __PATH__\node_modules\react-docgen-typescript\lib\parser.js:577
            if (functionStatement && functionStatement.parameters.length) {
                                                                  ^

TypeError: Cannot read property 'length' of undefined

my typescript version is 4.2.4 and my storybook version is 6.1.6

hazem3500 added a commit to hazem3500/react-docgen-typescript that referenced this issue Jun 7, 2021
@hazem3500 hazem3500 mentioned this issue Jun 7, 2021
pvasek added a commit that referenced this issue Jun 9, 2021
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

Successfully merging a pull request may close this issue.

1 participant