Skip to content

[TM] Add spec for AnimationsDebugModule#24915

Closed
ericlewis wants to merge 1 commit into
facebook:masterfrom
ericlewis:spec-AnimationDebugModule
Closed

[TM] Add spec for AnimationsDebugModule#24915
ericlewis wants to merge 1 commit into
facebook:masterfrom
ericlewis:spec-AnimationDebugModule

Conversation

@ericlewis
Copy link
Copy Markdown
Contributor

Summary

Part of #24875.

Changelog

[General] [Added] - Add TM spec for AnimationsDebugModule

Test Plan

Flow passes

@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. labels May 16, 2019
@react-native-bot react-native-bot added the Type: Enhancement A new feature or enhancement of an existing feature. label May 16, 2019
@ericlewis ericlewis added the Flow label May 16, 2019

export default (Platform.OS === 'android'
? TurboModuleRegistry.getEnforcing<Spec>('AnimationsDebugModule')
: null);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Shouldn't it be undefined instead?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please use TurboModuleRegistry.get<Spec>('AnimationsDebugModule') instead and no need to check the Platform.

Copy link
Copy Markdown
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

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

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @ericlewis in 00fe438.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label May 21, 2019
M-i-k-e-l pushed a commit to M-i-k-e-l/react-native that referenced this pull request Mar 10, 2020
Summary:
Part of facebook#24875.

## Changelog

[General] [Added] - Add TM spec for AnimationsDebugModule
Pull Request resolved: facebook#24915

Reviewed By: RSNara

Differential Revision: D15421499

Pulled By: fkgozali

fbshipit-source-id: f52780773f5947097b75c4d776a0b80e0bc1d387
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. Flow Merged This PR has been merged. Native Module Type: Enhancement A new feature or enhancement of an existing feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants