mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
eecb930222
Summary: This parses the JSON schema's aliases and reserved function valye types. It also assigns TypeId correctly now: * TypeId is an identifier for a specific type, that can be referred by others * This means only aliases should have TypeId.typeName. Properties' names are not typeNames * NativeModule spec's typeName is hardcoded to `Spec`, see T71955395 This way, whenever we encounter an `AliasType`, we can just lookup the actual Type by a quick Map lookup with TypeId as the key. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D23181432 fbshipit-source-id: 9d0ea17dbf601589d8f3fc1955e0c9406a80e244