Skip to content

Commit

Permalink
Revert D67868219 (#48512)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #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
  • Loading branch information
generatedunixname89002005232357 authored and facebook-github-bot committed Jan 7, 2025
1 parent 65c6a0a commit cd40e4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ using NativeIntersectionObserverEntry =
// rootRect
RectAsTuple,
// intersectionRect
RectAsTuple,
std::optional<RectAsTuple>,
// isIntersectingAboveThresholds
bool,
// time
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit cd40e4e

Please sign in to comment.