Skip to content

Codemod long deprecated * type to any#36634

Closed
gkz wants to merge 1 commit into
facebook:mainfrom
gkz:export-D44358809
Closed

Codemod long deprecated * type to any#36634
gkz wants to merge 1 commit into
facebook:mainfrom
gkz:export-D44358809

Conversation

@gkz
Copy link
Copy Markdown
Member

@gkz gkz commented Mar 24, 2023

Summary:
The existential type * has been deprecated and just an alias for any since version 0.163. Codemod usage of it to any.
This helps with diff D44276187, which makes it always an error to use *.

Changelog: [internal]

Reviewed By: pieterv, SamChou19815

Differential Revision: D44358809

Summary:
The existential type `*` has been deprecated and just an alias for `any` since version 0.163. Codemod usage of it to `any`.
This helps with diff D44276187, which makes it always an error to use `*`.

Reviewed By: pieterv, SamChou19815

Differential Revision: D44358809

fbshipit-source-id: 8cfea88d1da7757c1fe808baf2fe691b475681dc
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner fb-exported labels Mar 24, 2023
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@analysis-bot
Copy link
Copy Markdown

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,518,882 +0
android hermes armeabi-v7a 7,835,162 +0
android hermes x86 8,998,016 +0
android hermes x86_64 8,854,184 +0
android jsc arm64-v8a 9,140,331 +0
android jsc armeabi-v7a 8,332,542 +0
android jsc x86 9,193,995 +0
android jsc x86_64 9,453,079 +0

Base commit: ebc97a6
Branch: main

facebook-github-bot pushed a commit to facebook/metro that referenced this pull request Mar 24, 2023
Summary:
X-link: facebook/react-native#36634

Pull Request resolved: #957

The existential type `*` has been deprecated and just an alias for `any` since version 0.163. Codemod usage of it to `any`.
This helps with diff D44276187, which makes it always an error to use `*`.

Changelog: [internal]

Reviewed By: pieterv, SamChou19815

Differential Revision: D44358809

fbshipit-source-id: c6bb55430edd086958e16989c60bc2a0a131a3fe
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Mar 24, 2023
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 2222b81.

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