Skip to content

Update to Flow v0.33.0 - #7841

Closed
jeffmo wants to merge 1 commit into
react:masterfrom
jeffmo:master
Closed

jeffmo wants to merge 1 commit into
react:masterfrom
jeffmo:master

Conversation

@jeffmo

@jeffmo jeffmo commented Sep 30, 2016

Copy link
Copy Markdown
Contributor

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

}

function shouldPreventMouseEvent(inst) {
function shouldPreventMouseEvent(inst?: SyntheticEvent) {

Copy link
Copy Markdown
Contributor

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

gaearon commented Oct 18, 2016

Copy link
Copy Markdown
Collaborator

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