diff --git a/index.js b/index.js index 8e7c6281b3a..458e40cec3c 100644 --- a/index.js +++ b/index.js @@ -99,7 +99,9 @@ import typeof DeprecatedEdgeInsetsPropType from './Libraries/DeprecatedPropTypes import typeof DeprecatedPointPropType from './Libraries/DeprecatedPropTypes/DeprecatedPointPropType'; import typeof DeprecatedViewPropTypes from './Libraries/DeprecatedPropTypes/DeprecatedViewPropTypes'; -import type {HostComponent} from './Libraries/Renderer/shims/ReactNativeTypes'; +import type {HostComponent as _HostComponentInternal} from './Libraries/Renderer/shims/ReactNativeTypes'; + +export type HostComponent = _HostComponentInternal; const invariant = require('invariant'); const warnOnce = require('./Libraries/Utilities/warnOnce');