Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turbo Module supports intersection type for TypeScript #36037

Closed
wants to merge 8 commits into from

Conversation

ZihanChen-MSFT
Copy link
Contributor

Summary

As requested from community, intersection type is supported for component but no in turbo module. This PR fixed it.

Changelog

[GENERAL] [CHANGED] - Turbo Module supports intersection type for TypeScript

Test Plan

yarn jest react-native-codegen passed

@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: Microsoft Partner: Microsoft Partner labels Feb 2, 2023
@analysis-bot
Copy link

analysis-bot commented Feb 2, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,474,289 +0
android hermes armeabi-v7a 7,795,948 +0
android hermes x86 8,950,179 +0
android hermes x86_64 8,807,843 +0
android jsc arm64-v8a 9,656,798 +0
android jsc armeabi-v7a 8,392,041 +0
android jsc x86 9,720,420 +0
android jsc x86_64 10,197,080 +0

Base commit: 7fedd75
Branch: main

Copy link
Contributor

@cipolleschi cipolleschi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing work here, thank you for adding the support for these new features.

I left a comment with a couple of suggestions, but let me know what do you think!

@facebook-github-bot
Copy link
Contributor

@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Copy link
Contributor

@cipolleschi cipolleschi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me!

@facebook-github-bot
Copy link
Contributor

@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Feb 7, 2023
@facebook-github-bot
Copy link
Contributor

@cipolleschi merged this pull request in bbed15d.

@ZihanChen-MSFT ZihanChen-MSFT deleted the ts-rncodegen19 branch February 13, 2023 22:28
OlimpiaZurek pushed a commit to OlimpiaZurek/react-native that referenced this pull request May 22, 2023
Summary:
As [requested from community](reactwg/react-native-new-architecture#91 (comment)), intersection type is supported for component but no in turbo module. This PR fixed it.

## Changelog

[GENERAL] [CHANGED] - Turbo Module supports intersection type for TypeScript

Pull Request resolved: facebook#36037

Test Plan: `yarn jest react-native-codegen` passed

Reviewed By: christophpurrer

Differential Revision: D42960338

Pulled By: cipolleschi

fbshipit-source-id: d317d3155cb96643bf549d0ac3d77f503685edbc
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. p: Microsoft Partner: Microsoft Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants