From 28f9a4e409cdb1610698861758fa413cf3bcfbb2 Mon Sep 17 00:00:00 2001 From: Root-Core Date: Wed, 24 Jul 2019 16:48:32 +0200 Subject: [PATCH] Update index.d.ts - Added cookie option to typings, as added in #134 by @Kaisle --- types/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/index.d.ts b/types/index.d.ts index 9e6c428..709477d 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -37,6 +37,7 @@ declare module 'socketio-jwt' { handshake?: boolean; required?: boolean; timeout?: number; + cookie?: string; } function authorize(options: IOptions/*, onConnection: Function*/): ISocketIOMiddleware;