Skip to content

Delete interface.js (Flow), relocate __DEV__ global (#57275)#57275

Closed
huntie wants to merge 1 commit into
react:mainfrom
huntie:export-D109018822
Closed

Delete interface.js (Flow), relocate __DEV__ global (#57275)#57275
huntie wants to merge 1 commit into
react:mainfrom
huntie:export-D109018822

Conversation

@huntie

@huntie huntie commented Jun 18, 2026

Copy link
Copy Markdown
Member

Summary:

interface.js was a legacy, Flow-only entry point whose sole content was a bare declare var __DEV__: boolean; global, registered as a Flow [libs] file.

Relocate into flow/globals.js, allowing us to drop this from the package "files" (and "exports") list.

Changelog: [Internal]

Differential Revision: D109018822

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 18, 2026
@meta-codesync

meta-codesync Bot commented Jun 18, 2026

Copy link
Copy Markdown

@huntie has exported this pull request. If you are a Meta employee, you can view the originating Diff in D109018822.

@huntie huntie changed the title Delete interface.js (Flow) Delete interface.js (Flow), relocate __DEV__ global Jun 18, 2026
huntie added a commit to huntie/react-native that referenced this pull request Jun 18, 2026
Summary:

`interface.js` was a legacy, Flow-only entry point whose sole content was a bare `declare var __DEV__: boolean;` global, registered as a Flow `[libs]` file.

Relocate into `flow/globals.js`, allowing us to drop this from the package `"files"` (and `"exports"`) list.

Changelog: [Internal]

Differential Revision: D109018822
@meta-codesync meta-codesync Bot changed the title Delete interface.js (Flow), relocate __DEV__ global Delete interface.js (Flow), relocate __DEV__ global (#57275) Jun 18, 2026
huntie added a commit to huntie/react-native that referenced this pull request Jun 18, 2026
Summary:

`interface.js` was a legacy, Flow-only entry point whose sole content was a bare `declare var __DEV__: boolean;` global, registered as a Flow `[libs]` file.

Relocate into `flow/globals.js`, allowing us to drop this from the package `"files"` (and `"exports"`) list.

Changelog: [Internal]

Differential Revision: D109018822
@huntie huntie force-pushed the export-D109018822 branch from 7532f89 to 336bdbc Compare June 18, 2026 14:38
Summary:

`interface.js` was a legacy, Flow-only entry point whose sole content was a bare `declare var __DEV__: boolean;` global, registered as a Flow `[libs]` file.

Relocate into `flow/globals.js`, allowing us to drop this from the package `"files"` (and `"exports"`) list.

Changelog: [Internal]

Differential Revision: D109018822
@huntie huntie force-pushed the export-D109018822 branch from 336bdbc to a1fa701 Compare June 18, 2026 14:58
huntie added a commit to huntie/react-native that referenced this pull request Jun 18, 2026
Summary:

`interface.js` was a legacy, Flow-only entry point whose sole content was a bare `declare var __DEV__: boolean;` global, registered as a Flow `[libs]` file.

Relocate into `flow/globals.js`, allowing us to drop this from the package `"files"` (and `"exports"`) list.

Changelog: [Internal]

Differential Revision: D109018822
@meta-codesync meta-codesync Bot closed this in 2816d24 Jun 18, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Jun 18, 2026
@meta-codesync

meta-codesync Bot commented Jun 18, 2026

Copy link
Copy Markdown

This pull request has been merged in 2816d24.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant