SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 155 C++

Fix NativeModuleEnumMembers type (#46222)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/46222

This value was typed as always being a string, even though it  was containing both strings and numbers in the fixtures. This was because on this line https://fburl.com/code/9j7gh4av the input type is $FlowFixMe (from the source AST), which wasn't catching that it couldn't flow into just `string`.

Changelog: [Internal]

Reviewed By: makovkastar

Differential Revision: D61830075

fbshipit-source-id: 0d5a0239d7c0209049184ca858a7ceb1ada02f79
E
Eli White committed
a5363113f14116eb789a2bda7a8c7b7a87c430d5
Parent: 0b56cca
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 8/29/2024, 5:51:31 PM