Skip to content

Commit cf9e085

Browse files
author
Brian Vaughn
committed
Make Flow happy about __REACT_DEVTOOLS_GLOBAL_HOOK__ check
1 parent c624dc3 commit cf9e085

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/shared/registerInternalModuleStart.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
// Don't require this file directly; it's embedded by Rollup during build.
1313

14+
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
1415
if (
1516
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
1617
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ===

packages/shared/registerInternalModuleStop.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
// Don't require this file directly; it's embedded by Rollup during build.
1313

14+
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
1415
if (
1516
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
1617
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop ===

0 commit comments

Comments
 (0)