Skip to content

Commit

Permalink
Fix flow
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Sep 27, 2022
1 parent a3bd363 commit e93410f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/react-reconciler/src/ReactInternalTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,11 @@ export type Fiber = {
// I'll avoid adding an owner field for prod and model that as functions.
ref:
| null
| (((handle: mixed) => void) & {_stringRef: ?string, ...})
| (((handle: mixed) => void) & {
_stringRef?: string,
_functionRef?: (handle: mixed) => void,
...
})
| RefObject,

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

0 comments on commit e93410f

Please sign in to comment.