summaryrefslogtreecommitdiff
path: root/lib/ts
diff options
context:
space:
mode:
authorJens Geyer <jensg@apache.org>2016-01-30 11:34:29 +0100
committerJens Geyer <jensg@apache.org>2016-01-30 11:37:08 +0100
commit356f7aa998eb54e25d749df366df353c58b3470e (patch)
treec31e03becd2a6a72664fa5b2002a2da09a8dab92 /lib/ts
parent710704328838e6c4e22e9638d729141be2d7daf8 (diff)
downloadthrift-356f7aa998eb54e25d749df366df353c58b3470e.tar.gz
THRIFT-3588 Using TypeScript with --noImplicitAny fails
Client: TypeScript Patch: Frederik Gladhorn
Diffstat (limited to 'lib/ts')
-rw-r--r--lib/ts/thrift.d.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ts/thrift.d.ts b/lib/ts/thrift.d.ts
index 7c5b9e427..0ba46c914 100644
--- a/lib/ts/thrift.d.ts
+++ b/lib/ts/thrift.d.ts
@@ -304,7 +304,7 @@ declare module Thrift {
*/
constructor(url: string);
- __reset(url): void;
+ __reset(url: string): void;
/**
* Sends the current WS request and registers callback. The async
@@ -694,6 +694,6 @@ declare module Thrift {
* @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
+}