diff --git a/packages/react-native/ReactCommon/react/nativemodule/intersectionobserver/NativeIntersectionObserver.h b/packages/react-native/ReactCommon/react/nativemodule/intersectionobserver/NativeIntersectionObserver.h index dcc2a6c3fd6..d0653998093 100644 --- a/packages/react-native/ReactCommon/react/nativemodule/intersectionobserver/NativeIntersectionObserver.h +++ b/packages/react-native/ReactCommon/react/nativemodule/intersectionobserver/NativeIntersectionObserver.h @@ -45,7 +45,7 @@ using NativeIntersectionObserverEntry = // rootRect RectAsTuple, // intersectionRect - std::optional, + RectAsTuple, // isIntersectingAboveThresholds bool, // time diff --git a/packages/react-native/src/private/webapis/intersectionobserver/specs/NativeIntersectionObserver.js b/packages/react-native/src/private/webapis/intersectionobserver/specs/NativeIntersectionObserver.js index e2d9a32efde..7ceba03d7d2 100644 --- a/packages/react-native/src/private/webapis/intersectionobserver/specs/NativeIntersectionObserver.js +++ b/packages/react-native/src/private/webapis/intersectionobserver/specs/NativeIntersectionObserver.js @@ -17,8 +17,7 @@ export type NativeIntersectionObserverEntry = { targetInstanceHandle: mixed, targetRect: $ReadOnlyArray, // It's actually a tuple with x, y, width and height rootRect: $ReadOnlyArray, // It's actually a tuple with x, y, width and height - // TODO(T209328432) - Remove optionality of intersectionRect when native changes are released - intersectionRect: ?$ReadOnlyArray, // It's actually a tuple with x, y, width and height + intersectionRect: $ReadOnlyArray, // It's actually a tuple with x, y, width and height isIntersectingAboveThresholds: boolean, time: number, };