diff --git a/desktop/app/src/index.tsx b/desktop/app/src/index.tsx index 11fe8a955..179d6fb59 100644 --- a/desktop/app/src/index.tsx +++ b/desktop/app/src/index.tsx @@ -8,4 +8,6 @@ */ // 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'; diff --git a/desktop/flipper-ui-core/src/index.tsx b/desktop/flipper-ui-core/src/index.tsx index 4ebb44613..83369ac66 100644 --- a/desktop/flipper-ui-core/src/index.tsx +++ b/desktop/flipper-ui-core/src/index.tsx @@ -7,9 +7,6 @@ * @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 {startFlipperDesktop} from './startFlipperDesktop';