Update index.d.ts
- Added cookie option to typings, as added in #134 by @Kaisle
This commit is contained in:
parent
b180c24a4c
commit
28f9a4e409
1
types/index.d.ts
vendored
1
types/index.d.ts
vendored
@ -37,6 +37,7 @@ declare module 'socketio-jwt' {
|
||||
handshake?: boolean;
|
||||
required?: boolean;
|
||||
timeout?: number;
|
||||
cookie?: string;
|
||||
}
|
||||
|
||||
function authorize(options: IOptions/*, onConnection: Function*/): ISocketIOMiddleware;
|
||||
|
Reference in New Issue
Block a user