Skip to content

Commit a3686bd

Browse files
authored
chore: update @types/ws (#4317)
1 parent aa97a55 commit a3686bd

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"@types/express": "^4.17.13",
4141
"@types/serve-index": "^1.9.1",
4242
"@types/sockjs": "^0.3.33",
43-
"@types/ws": "^8.2.3",
43+
"@types/ws": "^8.5.1",
4444
"ansi-html-community": "^0.0.8",
4545
"bonjour-service": "^1.0.11",
4646
"chokidar": "^3.5.3",

types/lib/servers/WebsocketServer.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export = WebsocketServer;
22
declare class WebsocketServer extends BaseServer {
33
static heartbeatInterval: number;
4-
implementation: WebSocket.Server;
4+
implementation: WebSocket.Server<WebSocket.WebSocket>;
55
}
66
declare namespace WebsocketServer {
77
export { WebSocketServerConfiguration, ClientConnection };

0 commit comments

Comments
 (0)