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

Fix type of fs.readFileSync #1874

Closed
wants to merge 1 commit into from
Closed

Conversation

mroch
Copy link
Contributor

@mroch mroch commented May 31, 2016

Fixes #1870

since the first override had fewer params, it would accept any of the latter branches when the latter branches' return types didn't match, rather than making the entire intersection fail.

@mroch
Copy link
Contributor Author

mroch commented May 31, 2016

@facebook-github-bot import

@ghost ghost added the CLA Signed label May 31, 2016
@ghost
Copy link

ghost commented May 31, 2016

Thanks for importing. If you are an FB employee go to Phabricator to review.

@ghost ghost closed this in 699253b Jun 10, 2016
@mroch mroch deleted the readFileSync branch September 14, 2016 20:52
@mroch mroch restored the readFileSync branch December 13, 2016 20:01
This pull request was closed.
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.

Analysis does not match fs.readFileSync declaration
2 participants