mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Revert D67868219 (#48512)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/48512 This diff reverts D67868219 Breaking OTA Compatibility Check https://fburl.com/onedetection/m0hqsvjp [General][Changed] - Revert: Mark intersectionRect required in NativeIntersectionObserverEntry to reflect native logic. Reviewed By: lunaleaps Differential Revision: D67882016 fbshipit-source-id: 8cff299ee823f8ef06fe96667e832b68be45666d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
65c6a0a941
commit
cd40e4e387
+1
-1
@@ -45,7 +45,7 @@ using NativeIntersectionObserverEntry =
|
||||
// rootRect
|
||||
RectAsTuple,
|
||||
// intersectionRect
|
||||
RectAsTuple,
|
||||
std::optional<RectAsTuple>,
|
||||
// isIntersectingAboveThresholds
|
||||
bool,
|
||||
// time
|
||||
|
||||
Vendored
+2
-1
@@ -17,7 +17,8 @@ export type NativeIntersectionObserverEntry = {
|
||||
targetInstanceHandle: mixed,
|
||||
targetRect: $ReadOnlyArray<number>, // It's actually a tuple with x, y, width and height
|
||||
rootRect: $ReadOnlyArray<number>, // It's actually a tuple with x, y, width and height
|
||||
intersectionRect: $ReadOnlyArray<number>, // It's actually a tuple with x, y, width and height
|
||||
// TODO(T209328432) - Remove optionality of intersectionRect when native changes are released
|
||||
intersectionRect: ?$ReadOnlyArray<number>, // It's actually a tuple with x, y, width and height
|
||||
isIntersectingAboveThresholds: boolean,
|
||||
time: number,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user