Files
DefinitelyTyped/types/thrift
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
..