Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Flow #6957

Merged
merged 3 commits into from
Jun 3, 2016
Merged

Upgrade Flow #6957

merged 3 commits into from
Jun 3, 2016

Conversation

zpao
Copy link
Member

@zpao zpao commented Jun 3, 2016

Some of this was done in a codemod by @bhosmer.

Since we aren't syncing all the RN stuff in, there are more failures there unrelated to ReactElement but for other reasons. We should clean those up too since flow should actually be failing right now.

@sophiebits
Copy link
Collaborator

👍

zpao added 3 commits June 3, 2016 13:12
Also ignore examples, important because react can be installed by the commonjs
one and the modules will get detected there too, resulting in duplicate
definitions
@zpao
Copy link
Member Author

zpao commented Jun 3, 2016

Fixed the rest of it too and just combined with other <any> args (Basil only fixed the things that were synced at that point).

@@ -394,9 +394,9 @@ function diffProperties(
// default: fallthrough case when nested properties are defined
removedKeys = null;
removedKeyCount = 0;
// $FlowFixMe - We think that attributeConfig is not
// CustomAttributeConfiguration at this point so we assume
// it must be AttributeConfiguration.
Copy link
Member Author

Choose a reason for hiding this comment

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

@gabelevi - Not sure if you or somebody else would want to make this multi-line format work. I would have expected this to work but apparently it doesn't just apply it to the next real code line and presumably just applies it to the next line which in this case was a comment.

@zpao zpao merged commit d3b36d5 into facebook:master Jun 3, 2016
@ghost
Copy link

ghost commented Jun 3, 2016

@zpao updated the pull request.

@zpao zpao added this to the 15-next milestone Jun 6, 2016
zpao added a commit to zpao/react that referenced this pull request Jun 8, 2016
Upgrade Flow
(cherry picked from commit d3b36d5)
zpao added a commit that referenced this pull request Jun 14, 2016
Upgrade Flow
(cherry picked from commit d3b36d5)
@zpao zpao modified the milestones: 15-next, 15.2.0 Jun 14, 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.

2 participants