Skip to content

Commit e93410f

Browse files
committed
Fix flow
1 parent a3bd363 commit e93410f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/react-reconciler/src/ReactInternalTypes.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,11 @@ 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) & {
128+
_stringRef?: string,
129+
_functionRef?: (handle: mixed) => void,
130+
...
131+
})
128132
| RefObject,
129133

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

0 commit comments

Comments
 (0)