Skip to content

Make BabelNode* types module-local within @babel/types (remove ambient globals) - #57866

Open
robhogan wants to merge 1 commit into
mainfrom
export-D114881982
Open

Make BabelNode* types module-local within @babel/types (remove ambient globals)#57866
robhogan wants to merge 1 commit into
mainfrom
export-D114881982

Conversation

@robhogan

@robhogan robhogan commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Summary:
Now that all internal and OSS Babel types use explicitly imported types (see stack), modify our Babel type generator scripts and the generated lib defs so that they no longer declare global types.

This unblocks migrating to a modern flowtyped declaration and removing the .flowconfig coupling.

Changelog: [Internal]

Differential Revision: D114881982

…ent globals)

Summary:
Now that all internal and OSS Babel types use explicitly imported types (see stack), modify our Babel type generator scripts and the generated lib defs so that they no longer declare global types.

This unblocks migrating to a modern `flowtyped` declaration and removing the `.flowconfig` coupling.

Changelog: [Internal]

Differential Revision: D114881982
@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 Aug 8, 2026
@facebook-github-tools facebook-github-tools Bot added p: Facebook Partner: Facebook Partner labels Aug 8, 2026
@meta-codesync

meta-codesync Bot commented Aug 8, 2026

Copy link
Copy Markdown

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

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. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant