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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
This one is very much like #1329, but with JSX props spread instead of object spread:
/* @flow */ type T = { foo: string } & { bar: string }; const Test = (props: T) => null function bar(x: T): void { (x.foo : string); // ok (x.bar : string); // ok const y = <Test {...x} /> // not ok }
https://flowtype.org/try/#0PQKgBAAgZgNg9gdzCYAoVAXAngBwKZgAqYAvGAN5hRxwBcYAzhgE4CWAdgOZgC+YAZBTAAjAIbN6TNl14BudAGM47JkTyqyAChzM4OBvUIBKUgD4w7AK4wY6KJfYKMrZSPGaAHoaP0AbnFYAEwpUMDBPADpqODBJFg5OI1kwYGAwOABrUPCPCLFmWMZ4riSUtMz0MKUVDDAsUjAAHkJ1WvIIjo8+YHNUizhaip4gA
I guess it should be added to #1331 as well
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This one is very much like #1329, but with JSX props spread instead of object spread:
https://flowtype.org/try/#0PQKgBAAgZgNg9gdzCYAoVAXAngBwKZgAqYAvGAN5hRxwBcYAzhgE4CWAdgOZgC+YAZBTAAjAIbN6TNl14BudAGM47JkTyqyAChzM4OBvUIBKUgD4w7AK4wY6KJfYKMrZSPGaAHoaP0AbnFYAEwpUMDBPADpqODBJFg5OI1kwYGAwOABrUPCPCLFmWMZ4riSUtMz0MKUVDDAsUjAAHkJ1WvIIjo8+YHNUizhaip4gA
I guess it should be added to #1331 as well
The text was updated successfully, but these errors were encountered: