You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Kaspar Fenner (JIRA)" <ji...@apache.org> on 2015/07/16 20:39:04 UTC
[jira] [Created] (THRIFT-3248) TypeScript: additional comma in
method signature without parameters
Kaspar Fenner created THRIFT-3248:
-------------------------------------
Summary: TypeScript: additional comma in method signature without parameters
Key: THRIFT-3248
URL: https://issues.apache.org/jira/browse/THRIFT-3248
Project: Thrift
Issue Type: Bug
Components: JavaScript - Compiler
Affects Versions: 0.9.2
Reporter: Kaspar Fenner
Fix For: 0.9.3
The generated TypeScript code has an issue with methods with no parameters. The method signature shows an additional comma character (',') in the parameter list which have a callback argument.
{code}
/**
* A method definition....
*/
ping(): void;
/**
* A method definition....
*/
ping(, callback: Function): JQueryXHR;
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)