Commit Graph

12 Commits

Author SHA1 Message Date
Andy
954ee278de
Update TypeScript Versions to be at least as high as dependencies' versions (#21288)
* Update `TypeScript Version`s to be at least as high as dependencies' versions

* Run through again
2017-11-08 09:12:14 -08:00
Andy
19f89399e4 Ensure every package has a tslint.json (#21009)
* Ensure every package has a tslint.json

* Fixes
2017-10-25 11:13:50 -07:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Niklas Wulf
bdd079afbe
[nes] Add test/socket.ts 2017-08-30 16:10:00 +02:00
Niklas Wulf
e7e82f42fb
[nes] Fix Socket.disconnect typo 2017-08-30 16:00:21 +02:00
Niklas Wulf
d45137018d [Hapi] Fix input and response validation function signatures (#16802)
* [Hapi] Fix input and response validation function signatures

Fixes #16750

* [Hapi] Allow custom validation options in route input and response

* [Hapi] Adjust validation contexts to match Hapi version 16.1.1

* [Hapi] Adjust test/route/validate.ts to match newest changes

* [Hapi] Add custom options to response validation test

* [Hapi] Update TypeScript version to 2.3 in packages that import Hapi

* [Hapi] Clarify documentation on validation function value, allow null
2017-06-07 06:37:04 -07:00
Alexander James Phillips
b5143b1819 Remove unnecessary module wrapper 2017-05-08 20:31:18 +01:00
Alexander James Phillips
634461eb23 DRY nes exported types and remove absent Server and Request class exports
* Put in backwards incompatibility warning and a note regarding not needing to
  use Nes.Server or Nes.Request
* Move SocketClass to interface as it is not mentioned in docs as a public
  class for instantiating
2017-05-08 14:29:20 +01:00
Alexander James Phillips
51b1eeb737 Add test for request.socket 2017-05-08 12:44:56 +01:00
Alexander James Phillips
10f421bb83 Fix importing nes/client 2017-05-08 12:35:40 +01:00
Alexander James Phillips
8006e24a64 POTENTIAL REGRESSION. Fix nes and add multiple tests
* Potential regression due to not supporting require('nes/client')
  however no working tests to test this against yet.  Added a blank
  test in nes/test/client-require.ts
2017-05-08 00:42:01 +01:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00