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
interfaceProps{text: string;}functionBackButton(props: Props){return<div/>}BackButton.defaultProps={text: 'Go Back',};leta=<BackButton/>// error: text is missing in type {}
It works ok with React.Component. Also I tried to make LibraryManagedAttributes<C,P>={c: string} . This changed checking for Component, but not for SFC.
brieb, chibicode, azizhk, dan-kez, Hotell and 16 more