Need brackets around the boolean expression and a space before and after `?`:

`(!endpoint['return']) ? 'void' : _convertRJDArray...`