diff --git a/packages/shared/registerInternalModuleStart.js b/packages/shared/registerInternalModuleStart.js index aa1154fe9f1bf..341178444108e 100644 --- a/packages/shared/registerInternalModuleStart.js +++ b/packages/shared/registerInternalModuleStart.js @@ -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 === diff --git a/packages/shared/registerInternalModuleStop.js b/packages/shared/registerInternalModuleStop.js index dab139f2557f9..723a5d42d33ac 100644 --- a/packages/shared/registerInternalModuleStop.js +++ b/packages/shared/registerInternalModuleStop.js @@ -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 ===