We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This code:
// @flow const x = []; const y : Array<{ hello: string }> = [...x.concat, { hello: "there" }];
Passes flow currently, however the result of ...x.concat is undefined which results in a value being assigned to y that violates the type.
...x.concat
undefined
y
The text was updated successfully, but these errors were encountered:
This is caused by #106
Sorry, something went wrong.
No branches or pull requests
This code:
Passes flow currently, however the result of
...x.concat
isundefined
which results in a value being assigned toy
that violates the type.The text was updated successfully, but these errors were encountered: