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