Skip to content

manual annotations in preparation of natural inference rollout in xplat/js#51487

Closed
panagosg7 wants to merge 1 commit into
react:mainfrom
panagosg7:export-D75114156
Closed

manual annotations in preparation of natural inference rollout in xplat/js#51487
panagosg7 wants to merge 1 commit into
react:mainfrom
panagosg7:export-D75114156

Conversation

@panagosg7

Copy link
Copy Markdown
Contributor

Summary:
The Flow team is improving the way Flow infers type for primitive literals. This diff prepares the codebase for the new behavior by adding type annotations, or annotations of the form 'abc' as const.

Announcement: https://fb.workplace.com/groups/flowlang/permalink/1725180268087629/

Differential Revision: D75114156

@facebook-github-bot facebook-github-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 May 21, 2025
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

…at/js (react#51487)

Summary:

The Flow team is improving the way Flow infers type for primitive literals. This diff prepares the codebase for the new behavior by adding type annotations, or annotations of the form `'abc' as const`.

Changelog: [internal]

Reviewed By: SamChou19815

Differential Revision: D75114156
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

facebook-github-bot pushed a commit to react/metro that referenced this pull request May 21, 2025
…at/js

Summary:
X-link: react/react-native#51487

The Flow team is improving the way Flow infers type for primitive literals. This diff prepares the codebase for the new behavior by adding type annotations, or annotations of the form `'abc' as const`.

Changelog: [internal]

Reviewed By: SamChou19815

Differential Revision: D75114156

fbshipit-source-id: e3175af85cdd2388c3b45af4beb314f334e3f9b5
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label May 21, 2025
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request has been merged in 5250b59.

@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @panagosg7 in 5250b59

When will my fix make it into a release? | How to file a pick request?

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 This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants