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

Add registerCallableModule types #43366

Closed
wants to merge 1 commit into from

Conversation

Kudo
Copy link
Contributor

@Kudo Kudo commented Mar 7, 2024

Summary:

registerCallableModule() was added from 7f549ec but no typescript types there. this pr tries to add the corresponding types.

Changelog:

[GENERAL] [FIXED] - Add missing registerCallableModule TypeScript definitions

Test Plan:

patch locally and try to import { registerCallableModule } from 'react-native'; in a 0.74.0-rc.2 project

@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. Contributor A React Native contributor. p: Expo Partner: Expo Partner labels Mar 7, 2024
@Kudo Kudo marked this pull request as ready for review March 7, 2024 14:38
@facebook-github-bot facebook-github-bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Mar 7, 2024
@facebook-github-bot
Copy link
Contributor

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

@cortinico
Copy link
Contributor

@Kudo can you add a pick request here for 0.74?
https://github.com/reactwg/react-native-releases/issues/new

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Mar 8, 2024
@facebook-github-bot
Copy link
Contributor

@cortinico merged this pull request in 6bc95b2.

@Kudo Kudo deleted the @kudo/types/registerCallableModule branch March 8, 2024 10:53
@Kudo
Copy link
Contributor Author

Kudo commented Mar 8, 2024

added, thanks @cortinico!

huntie pushed a commit that referenced this pull request Mar 18, 2024
Summary:
`registerCallableModule()` was added from 7f549ec but no typescript types there. this pr tries to add the corresponding types.

## Changelog:

[GENERAL] [FIXED] - Add missing `registerCallableModule` TypeScript definitions

Pull Request resolved: #43366

Test Plan: patch locally and try to `import { registerCallableModule } from 'react-native';` in a 0.74.0-rc.2 project

Reviewed By: fabriziocucci

Differential Revision: D54676151

Pulled By: cortinico

fbshipit-source-id: cd01f2ebe2d2516b458fae5b2e83cba3d3794455
This was referenced Jun 28, 2024
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. Contributor A React Native contributor. Merged This PR has been merged. p: Expo Partner: Expo Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants