From f3f66431049fbed21e647bde04ee9fb45111b768 Mon Sep 17 00:00:00 2001 From: Yuan Gao Date: Tue, 7 Aug 2018 18:43:34 +0800 Subject: [PATCH] add maxPayload property to clientOptions in @types/ws --- types/ws/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/ws/index.d.ts b/types/ws/index.d.ts index 3667941753..1231d5af97 100644 --- a/types/ws/index.d.ts +++ b/types/ws/index.d.ts @@ -141,6 +141,7 @@ declare namespace WebSocket { key?: CertMeta; pfx?: string | Buffer; ca?: CertMeta; + maxPayload?: number; } interface PerMessageDeflateOptions {