Skip to content

Add void returns to constructors #863

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

Merged
merged 1 commit into from
May 18, 2017
Merged

Add void returns to constructors #863

merged 1 commit into from
May 18, 2017

Conversation

leebyron
Copy link
Contributor

Fixes #857

This fixes an issue where flow implicitly types new Class as any if the constructor is not typed to return void (facebook/flow#2748).

Fixes #857

This fixes an issue where flow implicitly types new Class as `any` if the constructor is not typed to return `void` (facebook/flow#2748).
@leebyron leebyron force-pushed the typed-constructors branch from ac3d609 to c641bbf Compare May 18, 2017 14:20
@leebyron leebyron merged commit 57b073a into master May 18, 2017
@leebyron leebyron deleted the typed-constructors branch May 18, 2017 14:40
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.

Coverage fails for GraphQLConfigs
2 participants