Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3992

Typescript Definitions of asnyc jqRequest-functions return void instead of jqPromise

    XMLWordPrintableJSON

Details

    Description

      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>"

      Attachments

        Activity

          People

            Unassigned Unassigned
            davidsautter David Sautter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: