Commit Graph

14 Commits

Author SHA1 Message Date
Andy
bef4d2b27d Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Philippe D'Alva
89bb4091ed @types/ws - Update types definition for ws@4.0 (#22831)
* @types/ws: Update types definition for ws@4.0

* @types/ws Update type definition for ws@4.0

- Change extensions attribute type
- Rename headers event to upgrade

* @types/ws - Updage ws tests to be in sync with ws@4.0.0
2018-01-11 15:49:53 -08:00
Ryan Rowland
14aa81e896 [ws] Add removeEventListener and removeListener 2017-11-29 12:39:01 -08:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Margus Lamp
a2c18a27e0 @types/ws @types/aws-iot-device-sdk @types/json-rpc-ws WebSocket.ping/pong input fix, synced options, lint fixes (#20108)
* * Renamed WebSocket.ping and WebSocket.pong argument dontFail (very confusing) to failSilently as it's in ws package
* WebSocket.close accepts data as string only

* * Lint fixes, updated types

* Fixed aws-iot-device-sdk + json-rpc-ws
2017-10-03 11:20:05 -07:00
Manusan
57879fda5a binary flag is gone on ping and pong which reduces the options object to the mask boolean 2017-07-10 17:47:28 +02:00
Luigi Pinca
4d2e46305f @types/ws: fix type of WebSocketServer#clients
Fixes: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/14774
2017-07-03 10:05:11 +02:00
Andy Hanson
06ebdd1984 Fix header 2017-06-02 08:30:03 -07:00
Matt Silverlock
a9e3d3bcb5 Update websocket/ws types for v3.0.0 (#16775) 2017-06-02 08:29:24 -07:00
Xiadong Zhu
ee4176f232 Extend VerifyClientCallbackAsync to support code and message fields when reject (#16145) 2017-06-01 07:17:43 -07:00
Johan Nordberg
d5124f0eaf Add missing binaryType property (#16181) 2017-05-03 14:15:25 -07:00
Sean Krail
df6284e4de Update index.d.ts - missing IServerOptions.backlog (#15562) 2017-04-17 08:27:04 -07:00
3n-mb
145488d5a4 Add missing field bufferedAmount (#15495)
Missing a field `bufferedAmount` [described in docs](https://github.com/websockets/ws/blob/master/doc/ws.md#websocketbufferedamount).
2017-04-17 08:05:01 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00