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
Essentially, we're losing the type information when wrapping a React component using connect.
classComponentextendsReact.Component<{},void>{}constComponentContainer=connect()(Component)leta=<ComponentContainerhello="world"/>// This should be illegal
I have time to look into this, if you're ok merging the changes.
The text was updated successfully, but these errors were encountered:
Essentially, we're losing the type information when wrapping a React component using
connect
.I have time to look into this, if you're ok merging the changes.
The text was updated successfully, but these errors were encountered: