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
Post a Comment