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)

Reply via email to