Commit Graph
4 Commits
Author SHA1 Message Date
Andy Hanson 21065fcb6b Enable "esModuleInterop" in all tsconfigs 2018-02-05 09:49:31 -08: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
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00