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
{{ message }}
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
Currently all propTypes default to
any
, if the following syntax is used instead ofReact.PropTypes
:The culprit is in https://github.com/KnisterPeter/react-to-typescript-definitions/blob/master/index.ts#L155-L157
In the mentioned example above the
node.type
is still aMemberExpression
, but thenode.object.type
isIdentifier
and thenode.object.name
isPropTypes
using v0.11.1
The text was updated successfully, but these errors were encountered: