Support string command arguments

Summary: Support command arguments that are strings

Reviewed By: JoshuaGross

Differential Revision: D16509728

fbshipit-source-id: 003aba66231d204071d043c01cb0781150d0edb9
This commit is contained in:
Eli White
2019-07-29 14:41:32 -07:00
committed by Facebook Github Bot
parent a174647698
commit 0314305e12
9 changed files with 42 additions and 11 deletions
@@ -97,6 +97,8 @@ function getCommandArgJavaType(param) {
return 'boolean';
case 'Int32TypeAnnotation':
return 'int';
case 'StringTypeAnnotation':
return 'String';
default:
(param.typeAnnotation.type: empty);
throw new Error('Receieved invalid typeAnnotation');