Skip to content

Commit 1575606

Browse files
committed
add one more definition
1 parent 6cb9a6d commit 1575606

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hapi-plugin-websocket.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ interface HapiWebsocketPluginSpecificConfiguration {
7676
}
7777

7878
declare module "@hapi/hapi" {
79+
export interface Request<ReqRefDefaults> {
80+
websocket(): HapiWebsocketPluginState
81+
}
7982
export interface PluginsStates {
8083
websocket: HapiWebsocketPluginState
8184
}

0 commit comments

Comments
 (0)