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
Hello,
Components that use React.ForwardRef seem to be caught somewhere with an error because of a parentPath check. We want to be able to set param type name for such components.
something about this code snippet check seems to be affecting it;
if (path.parentPath.node.init && path.parentPath.node.init.params.length === 0) {
return;
}
I have a PR for this if thats okay.
Please kindly let me know if this has been an issue in the past and if there is a better solution, I will be happy to follow.
The text was updated successfully, but these errors were encountered:
Hello,
Components that use React.ForwardRef seem to be caught somewhere with an error because of a
parentPath
check. We want to be able to set param type name for such components.something about this code snippet check seems to be affecting it;
I have a PR for this if thats okay.
Please kindly let me know if this has been an issue in the past and if there is a better solution, I will be happy to follow.
The text was updated successfully, but these errors were encountered: