Skip to content

Conversation

Tigge
Copy link

@Tigge Tigge commented Jul 9, 2020

This tries to follow and look inside of forwardRef calls when reading out default values from function statements. In addition it will look at the actual source file when doing these default value lookups.

Solves: #254

@Tigge
Copy link
Author

Tigge commented Jul 9, 2020

Hi. This is my first pull request for this project. I'm not that familiar with either this project or the typescript AST. The commit hooks did some formatting that was included in the commit as well that is unrelated, let me know if you want me to skip the hook and just have my changes.

Please let me know if you have other comments or suggestions.

@Tigge Tigge force-pushed the forwardref branch 2 times, most recently from 81108ac to f4bf684 Compare July 12, 2020 21:07
This tries to follow and look inside of forwardRef calls when reading
out default values from function statements. In addition it will look at
the actual source file when doing these default value lookups.

Solves: styleguidist#254
@pvasek
Copy link
Collaborator

pvasek commented Jul 19, 2020

@Tigge Hi, i think your PR is fine. Thanks for that!

I know, we have some problems with these commit hooks. I am starting to think lately that they do more harm then help.

@pvasek pvasek merged commit d962e32 into styleguidist:master Jul 19, 2020
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 this pull request may close these issues.

2 participants