Skip to content

Commit e19c22c

Browse files
committed
Fix flow
1 parent f9fcdc7 commit e19c22c

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
@@ -128,7 +128,11 @@ export type Fiber = {
128128
// I'll avoid adding an owner field for prod and model that as functions.
129129
ref:
130130
| null
131-
| (((handle: mixed) => void) & {_stringRef: ?string, ...})
131+
| (((handle: mixed) => void) & {
132+
_stringRef?: string,
133+
_functionRef?: (handle: mixed) => void,
134+
...
135+
})
132136
| RefObject,
133137

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

0 commit comments

Comments
 (0)