Skip to content

Commit

Permalink
Make Flow happy about __REACT_DEVTOOLS_GLOBAL_HOOK__ check
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn committed Nov 1, 2021
1 parent c624dc3 commit cf9e085
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/shared/registerInternalModuleStart.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

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

/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ===
Expand Down
1 change: 1 addition & 0 deletions packages/shared/registerInternalModuleStop.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

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

/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop ===
Expand Down

0 comments on commit cf9e085

Please sign in to comment.