mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
[flow] Bump flow to v0.307.1 (#36199)
## Summary Notable changes: - Only $FlowFixMe, $FlowExpectedError suppression comments are supported - All suppression comments need error code - A lot of new invalid-compare and constant-condition errors suppressed. These errors reveal potential logical bugs ## How did you test this change? `yarn flow-ci`
This commit is contained in:
@@ -85,7 +85,7 @@ declare class ScrollTimeline extends AnimationTimeline {
|
||||
// $FlowFixMe[libdef-override]
|
||||
declare opaque type React$Element<
|
||||
+ElementType: React$ElementType,
|
||||
+P = React$ElementProps<ElementType>,
|
||||
+P = React$ElementConfig<ElementType>,
|
||||
>: {
|
||||
+type: ElementType,
|
||||
+props: P,
|
||||
|
||||
Reference in New Issue
Block a user