mirror of
https://github.com/facebook/react.git
synced 2026-02-26 18:58:05 +00:00
Types Fiber as an exact object type (#10063)
This commit is contained in:
committed by
Andrew Clark
parent
864ae8fa98
commit
85f3498fda
@@ -66,7 +66,7 @@ if (__DEV__) {
|
||||
|
||||
// A Fiber is work on a Component that needs to be done or was done. There can
|
||||
// be more than one per component.
|
||||
export type Fiber = {
|
||||
export type Fiber = {|
|
||||
// __DEV__ only
|
||||
_debugID?: DebugID,
|
||||
_debugSource?: Source | null,
|
||||
@@ -176,7 +176,7 @@ export type Fiber = {
|
||||
// Conceptual aliases
|
||||
// workInProgress : Fiber -> alternate The alternate used for reuse happens
|
||||
// to be the same as work in progress.
|
||||
};
|
||||
|};
|
||||
|
||||
if (__DEV__) {
|
||||
var debugCounter = 1;
|
||||
|
||||
Reference in New Issue
Block a user