[ 
https://issues.apache.org/jira/browse/THRIFT-3992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15718364#comment-15718364
 ] 

Jens Geyer commented on THRIFT-3992:
------------------------------------

{code}
  --gen STR   Generate code with a dynamically-registered generator.
                STR has the form language[:key1=val1[,key2[,key3=val3]]].
                Keys and values are options passed to the generator.
                Many options will not require values.
{code}

> Typescript Definitions of asnyc jqRequest-functions return void instead of 
> jqPromise
> ------------------------------------------------------------------------------------
>
>                 Key: THRIFT-3992
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3992
>             Project: Thrift
>          Issue Type: Bug
>          Components: JavaScript - Compiler, TypeScript - Library
>    Affects Versions: 0.9.3
>            Reporter: David Sautter
>            Priority: Blocker
>
> Scenario: Typescript with Thrift in the browser (-> needs async functions to 
> work)
> Compilation itself is a bit odd, you need to overwrite:
>  1. thrift -r --gen js:ts
>  2. thrift -r --gen js:jquery
> Async ts-function-defintions are generated, but they have return type "void" 
> instead of "jqPromise<UserDefinedType>"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to