Commit Graph
36 Commits
Author SHA1 Message Date
vvakame 7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame 14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame 56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Ilya Mochalov abc2bcfb85 node: improved EventEmitter's definition with this-typing 2016-02-25 02:10:08 +05:00
Florent Poujol 4128f7af06 Update definitions for socket.io to v1.4.4. 2016-01-17 21:52:54 +01:00
pyoungon 0f6f5f6b69 changed close parameter as optional. 2015-12-28 13:59:47 +09:00
Jacob Jenkins 20e721cefd Add optional string parameter to removeAllListeners
As socket essentially extends EventEmitter (save emit), and EventEmitter allows passing an event string to removeAllListeners, the typings should be updated to reflect that. I've updated removeAllListeners to take an option event string parameter.

Reference [Node 4.1.1](https://nodejs.org/api/events.html#events_emitter_removealllisteners_event)
& [Node 0.12.7](https://nodejs.org/docs/latest-v0.12.x/api/events.html#events_emitter_removealllisteners_event)
2015-10-02 16:38:52 -04:00
Damian Connolly 6e279163da Fixed author attribution 2015-07-21 00:10:40 +02:00
Damian Connolly dd0d09a18b Fixed problem with broadcast declaration and added right reference path to the tests file 2015-07-17 21:59:37 +02:00
Damian Connolly cd5de37f83 Added definitions for v1.3.5 of the socket.io lib 2015-07-11 21:17:37 +02:00
FalloutPL beac5c03fe Missing id for Client interface
It`s exposed in:
https://github.com/Automattic/socket.io/blob/master/lib/client.js#L28
2015-06-01 01:58:49 +02:00
Elisée Maurer c3a1f48983 Add SocketIO.Socket.handshake 2015-04-30 06:12:32 +02:00
Elisée fcc48530e3 socket.io: SocketIO.Namespace has an "in" method 2015-04-29 23:00:06 +02:00
Elisée b66b42f5d4 Declare Socket.conn as any
SocketIO.Socket.conn is an EngineIO.Socket, not a SocketIO.Socket so use any rather declaring as the wrong type.
2015-03-11 19:59:40 +01:00
Yuki KAN 24991f9398 Fix socket.io.d.ts: argument of send(), write()
oops
2015-02-25 10:05:33 +09:00
Yuki KAN aebd7dec12 Fix many incorrect types of socket.io.d.ts.
references:
https://github.com/Automattic/socket.io
2015-02-25 07:57:03 +09:00
Yuki KAN 4ec69330e8 Fix socket.io.d.ts: argument of Socket.disconnect 2015-02-24 08:56:43 +09:00
Yuki KAN 070980d5f2 Fix socket.io.d.ts for wrong type in Namespace.connected 2015-02-24 08:26:47 +09:00
Eric Lu 85c227ebf0 Expose connected property and discount function. 2015-01-26 19:32:44 -08:00
wokim 417aa79b1a Make 'opts' to optional parameter 2014-12-11 23:41:13 +09:00
PROGRE a012987c65 fix String to string 2014-11-07 07:01:15 +09:00
progre d68d470bbd add socket.io 1.2.0 2014-11-04 00:09:02 +09:00
progre 5eba93f581 move to legacy 2014-11-03 12:11:41 +09:00
Václav Oborník efc61c9d55 added handshake data to socket.io Socket interface 2014-03-20 07:57:12 +01:00
Václav Oborník 01dd203b6c Socket.io - moved interfaces from global evil namespace 'socket.io' module 2014-03-10 12:19:57 +01:00
Václav Oborník e7491baf9d Socket.io - added return type of SocketNamespace for authorization method 2014-03-10 12:15:15 +01:00
Shunsuke Shida 4b45695df5 socket.io: Added missing API 2014-01-30 04:13:47 +09:00
Basarat Ali Syed b11ea5a8ea Update socket.io.d.ts
client code does not belong in this file as it references `node.d.ts`
2013-12-18 22:35:54 +11:00
Basarat Ali Syed 38ee125492 Update socket.io.d.ts 2013-12-18 18:24:15 +11:00
Lukas Olson 75563a29af Add id to Socket interface
Although not clearly documented, the Socket object has a string 'id' attribute (see https://github.com/LearnBoost/socket.io/blob/master/lib/socket.js)
2013-09-16 15:10:41 -06:00
basarat a12a8fdfda socket.io : fix for functions used in storing data associated with client. Closes #734 2013-09-07 00:04:38 +10:00
Andrew Gaspar 85cba9f9b8 Updated socket.io to have better function typing on SocketNamespace.on 2013-08-15 14:43:56 -05:00
Boris Yankov dd35f69637 Big replacement: bool with boolean 2013-08-07 16:59:39 +03:00
Ronald Crooy 52462e5ed1 fixed socket io emit function 2013-02-03 09:06:48 +01:00
Boris Yankov 209d95071a Update reference paths 2013-01-17 20:03:30 +02:00
Boris Yankov c98eebb137 Rename all definition files, remove versions 2013-01-17 17:17:27 +02:00