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
Especially bummed about this one, because it works great up until the point we need to use either of these features.
As we start to refactor our types and share them between components while using Pick<> or Omit<>, we also start to lose out on the benefit of having react-docgen in the first place.
Whenever an interface is using the typescript features
Pick
orOmit
, then we don't get any props from these interfaces/types.In the case of an interface like this:
-> in this case it will only find "children" as prop.
The same with Omit<>:
The text was updated successfully, but these errors were encountered: