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
Omit
Flow version: 0.211.0
The following code has no type error
const object: Omit< | { type: 'A'; data: number; a: number; } | { type: 'B'; data: string; b: string; }, 'type' > = {data: 42, a: 42}
Flow displays multiple errors
The text was updated successfully, but these errors were encountered:
Addressed by 328d949 and coming out in 0.211
Sorry, something went wrong.
@jbrown215 I see the following error in the playground
TryFlow encountered an internal error: [0,[248,"Jsoo_runtime.Error.Exn",35],{}]
I confirmed in a local project that it works. Not sure why it makes the playground overflow
No branches or pull requests
Flow version: 0.211.0
Expected behavior
The following code has no type error
Actual behavior
Flow displays multiple errors
The text was updated successfully, but these errors were encountered: