When a service or type definition has multiple includes that are referenced in method parameters or responses the TypeScript generator will generated code that will fail to compile with tsc. This is due to "external" types not being referenced from their import; an assumption is made that they are defined the the default ttypes for the service.
With the following input
The following generated TypeScript declaration is generated with 0.13.0 which will fail to compile with an invocation of "tsc *.d.ts"
The expected output should be:
I have a fix for this with the following PR https://github.com/apache/thrift/pull/1820