Types Fiber as an exact object type (#10063)

This commit is contained in:
Toru Kobayashi
2017-06-29 03:01:46 +09:00
committed by Andrew Clark
parent 864ae8fa98
commit 85f3498fda

View File

@@ -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;