-
Notifications
You must be signed in to change notification settings - Fork 48.8k
Flow upgrade to 0.182 #25419
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
Flow upgrade to 0.182 #25419
Conversation
[ghstack-poisoned]
ghstack-source-id: 58e651c Pull Request resolved: facebook#25419
type Check<_X, Y: _X, X: Y = _X> = null; | ||
// eslint-disable-next-line no-unused-expressions | ||
(null: Check<ExportsType, FeatureFlagsType>); | ||
// Flow magic to verify the exports of this file match the original version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you verified this still does what it's supposed to?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed one export type and it showed an error.
The idea is that A can be casted into B and B can be casted into A, which I think implies that A = B.
[ghstack-poisoned]
Stack from ghstack (oldest at bottom):