Remove redundant exports from 'flipper'

Summary: Prevent getRenderHostInstance leaking into 'flipper' types

Reviewed By: lblasa

Differential Revision: D39574678

fbshipit-source-id: 43932d73fed8b37a2a0791a312ee3d5129a4923f
This commit is contained in:
Andrey Goncharov
2022-09-16 06:33:18 -07:00
committed by Facebook GitHub Bot
parent 8dc5f4d3ea
commit 9fc9d6f9b5
2 changed files with 3 additions and 4 deletions

View File

@@ -8,4 +8,6 @@
*/ */
// Ideally we don't want to expose those, but this is for legacy compatibility // Ideally we don't want to expose those, but this is for legacy compatibility
export * from 'flipper-ui-core'; // It is OK to reference /src/... here as this file i never bundled and only used for typings
// eslint-disable-next-line no-restricted-imports
export * from 'flipper-ui-core/src/deprecated-exports';

View File

@@ -7,9 +7,6 @@
* @format * @format
*/ */
// TODO: should not be exported anymore, but still needed for 'import from 'flipper'' stuff
export * from './deprecated-exports';
export {RenderHost, getRenderHostInstance} from 'flipper-frontend-core'; export {RenderHost, getRenderHostInstance} from 'flipper-frontend-core';
export {startFlipperDesktop} from './startFlipperDesktop'; export {startFlipperDesktop} from './startFlipperDesktop';