You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doing this would require more thorough scope analysis to determine what bool is since it could be like this:
constbool=PropTypes.string
Not saying that's likely, just that to do this properly would require properly checking the scope of variables passed down. If you'd like to take a stab at this feel free, but it's not something I've seen before so I'm not sure I'll end up taking this on.
When using both the script and online tool, if I use a file with destructured prop-types the types that get generated are
unknown
.For example:
will generate
The text was updated successfully, but these errors were encountered: