Skip to content

Commit 336484d

Browse files
committed
try to avoid generics here
1 parent 1575606 commit 336484d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hapi-plugin-websocket.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
import * as ws from "ws"
2626
import * as http from "node:http"
2727

28-
interface HapiWebsocketPluginState<WSF = any> {
28+
interface HapiWebsocketPluginState {
2929
mode: "websocket"
3030
ctx: Record<string, any>
3131
wss: ws.Server
3232
ws: ws.WebSocket
33-
wsf: WSF
33+
wsf: any
3434
req: http.IncomingMessage
3535
peers: ws.WebSocket[]
3636
initially: boolean

0 commit comments

Comments
 (0)