diff --git a/packages/react/src/ReactElementValidator.js b/packages/react/src/ReactElementValidator.js index 14af2ade8133a..0451025b6c7f1 100644 --- a/packages/react/src/ReactElementValidator.js +++ b/packages/react/src/ReactElementValidator.js @@ -35,7 +35,7 @@ import {setExtraStackFrame} from './ReactDebugCurrentFrame'; import {describeUnknownElementTypeFrameInDEV} from 'shared/ReactComponentStackFrame'; import hasOwnProperty from 'shared/hasOwnProperty'; -const REACT_CLIENT_REFERENCE: symbol = Symbol.for('react.client.reference'); +const REACT_CLIENT_REFERENCE = Symbol.for('react.client.reference'); function setCurrentlyValidatingElement(element) { if (__DEV__) { diff --git a/packages/react/src/jsx/ReactJSXElementValidator.js b/packages/react/src/jsx/ReactJSXElementValidator.js index 1cc8075da58da..da000079ee90f 100644 --- a/packages/react/src/jsx/ReactJSXElementValidator.js +++ b/packages/react/src/jsx/ReactJSXElementValidator.js @@ -32,7 +32,7 @@ import ReactSharedInternals from 'shared/ReactSharedInternals'; const ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner; const ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame; -const REACT_CLIENT_REFERENCE: symbol = Symbol.for('react.client.reference'); +const REACT_CLIENT_REFERENCE = Symbol.for('react.client.reference'); function setCurrentlyValidatingElement(element) { if (__DEV__) {