@types/socket.io
Advanced tools
Comparing version 2.1.9 to 2.1.10
@@ -17,2 +17,4 @@ // Type definitions for socket.io 2.1 | ||
import engine = require('engine.io'); | ||
import { Server as HttpServer } from 'http'; | ||
import { Server as HttpsServer } from 'https'; | ||
import { EventEmitter } from 'events'; | ||
@@ -34,3 +36,3 @@ export = SocketIO; | ||
*/ | ||
(srv: any, opts?: SocketIO.ServerOptions): SocketIO.Server; | ||
(srv: HttpServer | HttpsServer, opts?: SocketIO.ServerOptions): SocketIO.Server; | ||
@@ -60,3 +62,3 @@ /** | ||
*/ | ||
new (srv: any, opts?: SocketIO.ServerOptions): SocketIO.Server; | ||
new (srv: HttpServer | HttpsServer, opts?: SocketIO.ServerOptions): SocketIO.Server; | ||
@@ -194,3 +196,3 @@ /** | ||
*/ | ||
attach(srv: any, opts?: ServerOptions): Server; | ||
attach(srv: HttpServer | HttpsServer, opts?: ServerOptions): Server; | ||
@@ -208,3 +210,3 @@ /** | ||
*/ | ||
listen(srv: any, opts?: ServerOptions): Server; | ||
listen(srv: HttpServer | HttpsServer, opts?: ServerOptions): Server; | ||
@@ -211,0 +213,0 @@ /** |
{ | ||
"name": "@types/socket.io", | ||
"version": "2.1.9", | ||
"version": "2.1.10", | ||
"description": "TypeScript definitions for socket.io", | ||
@@ -60,4 +60,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "1c3ea769a76f12761354b309b9166d3e46e8878db36bc2bdaa3556a656691433", | ||
"typesPublisherContentHash": "fa5e818ab8d97d307843b967db5941c1966572b0e5fd4d50f663241755a1f999", | ||
"typeScriptVersion": "3.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 20 Jul 2020 11:55:36 GMT | ||
* Last updated: Tue, 21 Jul 2020 18:50:27 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
34763
831