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;