creditkarma / thrift-typescript

Generate TypeScript from Thrift IDL files
Apache License 2.0
155 stars 32 forks source link

fix: should import Int64 if i64 used as function argument #141

Closed kevin-greene-ck closed 5 years ago

kevin-greene-ck commented 5 years ago

Resolves #140

If i64 only appeared as a function argument in a Thrift file the generated TypeScript didn't include the import for Int64. This adds a check for the i64 type in function arguments.