Closed juwonjung-hdj closed 5 years ago
Import statement for Int64 is missing in generated typescript when target is apache and Int64 only exists in function field.
Example)
Thrift
namespace js sample service SampleService { string sample(1:required i64 num) }
Generated typescript
import * as thrift from "thrift"; export namespace SampleService { export interface ISampleArgsArgs { num: number | Int64; // ^ type error since import is missing } // ...
Fix published in 3.1.1
Import statement for Int64 is missing in generated typescript when target is apache and Int64 only exists in function field.
Example)
Thrift
Generated typescript