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:
Michał Osadnik
2019-08-08 11:18:08 -07:00
committed by Facebook Github Bot
parent 0da4612f03
commit 28e668e56e
@@ -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