reactjs - Flow: function call. Callable signature not found in statics of React$Component -




i error don't understand in flow:

flow: function call. callable signature not found in statics of react$component

with code:

export default connect(   null, { showmodal }, )(withrouter(footersection)); 

i error:

function cannot called on member of intersection type intersection

with code:

export default connect(   (state: state) => ({     teamid: state.user.user.team,   }),   {     createproject,   }, )(createprojectcontent); 

it happened when upgraded flow@0.53.1

i think problems arose when updated flow-typed directory well.

so did, deleted flow-typed/npm directory , again installed types flow-typed install.

i handled other errors , flow isn't complaining anymore.





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -