Skip to content

Conversation

@jeffmo
Copy link
Contributor

@jeffmo jeffmo commented Sep 30, 2016

Ran grunt lint and npm run flow. No lint or Flow errors

}

function shouldPreventMouseEvent(inst) {
function shouldPreventMouseEvent(inst?: SyntheticEvent) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't a SyntheticEvent. The type we have flowing from where this is called in extractEvents says this should be ReactInstance

@sophiebits sophiebits self-assigned this Oct 4, 2016
@gaearon
Copy link
Collaborator

gaearon commented Oct 18, 2016

Thanks. I fixed the inst type in #8006 so I'll go ahead with that one.

@gaearon gaearon closed this Oct 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants