9 Commits
Author SHA1 Message Date
Kevin Greene ee3de0d55e [thrift] Update with an interface for struct-like classes (#20536)
* Additionally, mark Transport constructor args as optional
2017-10-13 14:54:32 -07:00
Jesse Zhang 75f77248e4 [thrift] Fix thrift multiplexer type, moved generic to createClient (#20495) 2017-10-11 15:42:37 -07:00
Andy 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Kevin Greene 9a30fc6a19 [thrift] Update Thrift types for completeness and correctness (#20088)
* [thrift] Update Thrift types for completeness and correctness

  * This adds all of the missing public exports from "thrift"
  * Correct error in evernote using import * as Thrift from 'thrift'. This should be
    import { Thrift } from 'thrift'. They were using Thrift.TException which is not
    exported from the top level of 'thrift'. It is nested in the Thrift namespace.

* [thrift] Add WSConnection to Thrift types

* [thrift] Loosen types for transport constructors

  * Transports will create Buffers if their constructors do not receive them.

* [thrift] Removing some ugly interface constructors in favor of classes

* [thrift] ConnectOptions should take a constructor for transport and protocol

  * Adding tests for the above
2017-10-02 10:42:40 -07:00
kamek-pf 4806da7caf fixed dtslint errors 2017-04-18 14:41:23 -04:00
kamek-pf da129b12a1 fixed tests 2017-04-18 14:08:44 -04:00
kamek-pf d06df75ac2 Added connexion event listener 2017-04-10 21:06:11 -04:00
kamek-pf 0fdb5ea6f3 Fixed types for Thrift 0.10.0 2017-04-10 12:36:26 -04:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00