@types/socket.io
Advanced tools
Comparing version 2.1.8 to 2.1.9
@@ -49,2 +49,27 @@ // Type definitions for socket.io 2.1 | ||
/** | ||
* Default Server constructor | ||
*/ | ||
new (): SocketIO.Server; | ||
/** | ||
* Creates a new Server | ||
* @param srv The HTTP server that we're going to bind to | ||
* @param opts An optional parameters object | ||
*/ | ||
new (srv: any, opts?: SocketIO.ServerOptions): SocketIO.Server; | ||
/** | ||
* Creates a new Server | ||
* @param port A port to bind to, as a number, or a string | ||
* @param An optional parameters object | ||
*/ | ||
new (port: string | number, opts?: SocketIO.ServerOptions): SocketIO.Server; | ||
/** | ||
* Creates a new Server | ||
* @param A parameters object | ||
*/ | ||
new (opts: SocketIO.ServerOptions): SocketIO.Server; | ||
/** | ||
* Backwards compatibility | ||
@@ -51,0 +76,0 @@ * @see io().listen() |
{ | ||
"name": "@types/socket.io", | ||
"version": "2.1.8", | ||
"version": "2.1.9", | ||
"description": "TypeScript definitions for socket.io", | ||
@@ -60,4 +60,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "f250d6de6457dde7693791499e750eca1a5211b42364d04b914077f73a25219b", | ||
"typesPublisherContentHash": "1c3ea769a76f12761354b309b9166d3e46e8878db36bc2bdaa3556a656691433", | ||
"typeScriptVersion": "3.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 21 May 2020 20:08:59 GMT | ||
* Last updated: Mon, 20 Jul 2020 11:55:36 GMT | ||
* Dependencies: [@types/engine.io](https://npmjs.com/package/@types/engine.io), [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ * Global values: `SocketIO` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34586
829