Skip to content

Commit 32c5b0b

Browse files
committed
Cast value to any
Because of the `$$typeof` check above, we know that this is a react element.
1 parent 7d5ad2e commit 32c5b0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-server/src/ReactFlightServer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1353,7 +1353,7 @@ function renderModelDestructive(
13531353
writtenObjects.set(value, SEEN_BUT_NOT_YET_OUTLINED);
13541354
// The element's props are marked as "never outlined" so that they are inlined into
13551355
// the same row as the element itself.
1356-
writtenObjects.set(value.props, NEVER_OUTLINED);
1356+
writtenObjects.set((value: any).props, NEVER_OUTLINED);
13571357
}
13581358

13591359
const element: React$Element<any> = (value: any);

0 commit comments

Comments
 (0)