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

Generated code is not compliant with noUnusedParameters

Open Hexxeh opened this issue 7 years ago • 1 comments

struct MyResponse { }

generates the following code:

export class MyResponse { constructor(args?: IMyResponseArgs) { } }

which with noUnusedParameters causes errors

Hexxeh avatar May 11 '18 16:05 Hexxeh

Yeah, we don't document that it will work with that flag, just noUnusedLocals. I would like to add this support. Not sure when we will have the bandwidth.

kevin-greene-ck avatar May 23 '18 22:05 kevin-greene-ck