thrift-parser icon indicating copy to clipboard operation
thrift-parser copied to clipboard

Getting error "'thrift' is declared but its value never read" when using typedef

Open liemle3893 opened this issue 6 years ago • 0 comments

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.

liemle3893 avatar Aug 21 '19 03:08 liemle3893