From e1d3b1df0a848f825e917c89273c79255541ae08 Mon Sep 17 00:00:00 2001 From: Piotr Date: Tue, 3 Feb 2026 09:58:11 +0100 Subject: [PATCH] Add close method to WebSocketStream interface --- types/websocket.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/websocket.d.ts b/types/websocket.d.ts index 6d81a2553b2..d48b9dadc01 100644 --- a/types/websocket.d.ts +++ b/types/websocket.d.ts @@ -169,6 +169,8 @@ interface WebSocketStream { writable: WritableStream }> url: string + + close(options?: Partial): void } export declare const WebSocketStream: {