mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Allow map type objects in Java/ObjC TM EventEmitter (#45271)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/45271 Changelog: [Internal] Allow map type objects in Java/ObjC TM EventEmitter Reviewed By: rshest Differential Revision: D59360044 fbshipit-source-id: 6fce094586ed2ad55a0d83a8a83ff554e2ba000e
This commit is contained in:
committed by
Facebook GitHub Bot
parent
504240caad
commit
85dc2e393f
Vendored
+1
@@ -22,6 +22,7 @@ function getEventEmitterTypeObjCType(
|
||||
return 'NSNumber *_Nonnull';
|
||||
case 'BooleanTypeAnnotation':
|
||||
return 'BOOL';
|
||||
case 'GenericObjectTypeAnnotation':
|
||||
case 'ObjectTypeAnnotation':
|
||||
case 'TypeAliasTypeAnnotation':
|
||||
return 'NSDictionary *';
|
||||
|
||||
Reference in New Issue
Block a user