Skip to content

Auto-generate TypeScript types for metro-source-map#1574

Closed
robhogan wants to merge 7 commits into
mainfrom
export-D82029338
Closed

Auto-generate TypeScript types for metro-source-map#1574
robhogan wants to merge 7 commits into
mainfrom
export-D82029338

Conversation

@robhogan

@robhogan robhogan commented Sep 9, 2025

Copy link
Copy Markdown
Contributor

Differential Revision: D82029338

Summary:
Prefer actually-private class field/method syntax (`#` prefix) over private-by-convention (`_` prefix).

Flow will already error on use of `_`-private fields, but they will generate TypeScript types as if part of the public API.

Also cleans up some inconsistent headers and a stray self-import of a type. This prepares `metro-cache` for fully auto-generated TypeScript types.

Differential Revision: D81051149
…vate, misc fixes"

Differential Revision: D81879389
Differential Revision: D81125128
Differential Revision: D81128767
@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 Sep 9, 2025
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D82029338

robhogan and others added 3 commits September 9, 2025 09:02
Differential Revision: D82028876
Summary:
Pull Request resolved: #1574

Rollback Plan:

Differential Revision: D82029338
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D82029338

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request has been merged in 4c346f2.

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. fb-exported Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants