thrift-parser
thrift-parser copied to clipboard
Getting error "'thrift' is declared but its value never read" when using typedef
This happened when I were using typedef i64 EpocMillis.
/* tslint:disable */
/* eslint-disable */
/*
* Autogenerated by @creditkarma/thrift-typescript v3.7.4
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*/
import Int64 = require("node-int64");
import * as thrift from "thrift";
export type EpocMillis = Int64;
Working normally with typedef string blahblah or typedef list<common.TError> Errors
Guess this issue only appear with this kind of typedef.