Skip to content

Commit 7c58a47

Browse files
committed
Fix flow
1 parent a3bd363 commit 7c58a47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-reconciler/src/ReactInternalTypes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export type Fiber = {
124124
// I'll avoid adding an owner field for prod and model that as functions.
125125
ref:
126126
| null
127-
| (((handle: mixed) => void) & {_stringRef: ?string, ...})
127+
| (((handle: mixed) => void) & {_stringRef?: string, _functionRef?: (handle: mixed) => void, ...})
128128
| RefObject,
129129

130130
// Input is the data coming into process this fiber. Arguments. Props.

0 commit comments

Comments
 (0)