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 is a:
Which concerns:
A type spread over an intersection creates invalid code
import t from 'flow-runtime'; type C1 = { type: 'C1' } & { test1: string } type Err = { id: number, ...C1 } const v : Err = { id: 10, type: 'C1', test1: 'whatever' } console.log(t.validate(Err, v).hasErrors())
To be consistent with Flow's semantics
Try Flow example
Reproducible on live demo https://codemix.github.io/flow-runtime/#/try
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This is a:
Which concerns:
What is the current behaviour?
A type spread over an intersection creates invalid code
What is the expected behaviour?
To be consistent with Flow's semantics
Try Flow example
Which package versions are you using?
Reproducible on live demo https://codemix.github.io/flow-runtime/#/try
The text was updated successfully, but these errors were encountered: