THRIFT-3588 Using TypeScript with --noImplicitAny fails
Client: TypeScript
Patch: Frederik Gladhorn
diff --git a/lib/ts/thrift.d.ts b/lib/ts/thrift.d.ts
index 7c5b9e4..0ba46c9 100644
--- a/lib/ts/thrift.d.ts
+++ b/lib/ts/thrift.d.ts
@@ -304,7 +304,7 @@
*/
constructor(url: string);
- __reset(url): void;
+ __reset(url: string): void;
/**
* Sends the current WS request and registers callback. The async
@@ -694,6 +694,6 @@
* @param {Thrift.ServiceClient} SCl - The Service Client Class.
* @param {Thrift.Transport} transport - Thrift.Transport instance which provides remote host:port.
*/
- createClient(serviceName: string, SCl: any, transport: Object);
+ createClient(serviceName: string, SCl: any, transport: Object): any;
}
-}
\ No newline at end of file
+}