Declare __REACT_DEVTOOLS_GLOBAL_HOOK__ for Flow (#8884)
Dan Abramov committed
Jan 30, 2017 at 14:14 UTC
d8491ca73f4203a02973144ee6c518a8d3206800
1 file changed
+2
src/renderers/shared/fiber/ReactFiberDevToolsHook.js
+2
@@ -12,6 +12,8 @@
12
13
/* globals __REACT_DEVTOOLS_GLOBAL_HOOK__ */
14
15
+declare var __REACT_DEVTOOLS_GLOBAL_HOOK__ : Object | void;
16
+
17
'use strict';
18
19
import type { Fiber } from 'ReactFiber';