mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add pointer to generated id<NSObject>
Summary: It should always be a pointer, sorry! Reviewed By: RSNara Differential Revision: D16689608 fbshipit-source-id: f67d2606b5bdc169d312c1c75748c390ee5e56ed
This commit is contained in:
committed by
Facebook Github Bot
parent
0da4612f03
commit
28e668e56e
+1
-1
@@ -99,7 +99,7 @@ function getInlineMethodImplementation(
|
||||
case 'GenericObjectTypeAnnotation':
|
||||
case 'AnyTypeAnnotation':
|
||||
return inlineTemplate
|
||||
.replace(/::_RETURN_TYPE_::/, 'id<NSObject> *')
|
||||
.replace(/::_RETURN_TYPE_::/, 'id<NSObject> ')
|
||||
.replace(/::_RETURN_VALUE_::/, 'p');
|
||||
case 'ObjectTypeAnnotation':
|
||||
return inlineTemplate
|
||||
|
||||
Reference in New Issue
Block a user