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

[V2] Flowtype upgrade to v0.72.0 #2646

Merged
merged 2 commits into from
Jun 19, 2018
Merged

[V2] Flowtype upgrade to v0.72.0 #2646

merged 2 commits into from
Jun 19, 2018

Conversation

lunij
Copy link
Contributor

@lunij lunij commented May 24, 2018

When the consumer of react-select v2 already uses Flowtype v0.72.0 then react-select v2 beta-6 is reporting Flow errors. This is solved by upgrading Flowtype and fixing the necessary type issues.

@@ -1141,7 +1142,7 @@ export default class Select extends Component<Props, State> {
/>
);
}
renderPlaceholderOrValue() {
renderPlaceholderOrValue(): ?PlaceholderOrValue {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think Node | Node[] is enough. renderPlaceholderOrValue is not used outside of render

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants