mirror of
https://github.com/Thream/socketio-jwt.git
synced 2024-07-21 09:38:31 +02:00
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;
|
handshake?: boolean;
|
||||||
required?: boolean;
|
required?: boolean;
|
||||||
timeout?: number;
|
timeout?: number;
|
||||||
|
cookie?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
function authorize(options: IOptions/*, onConnection: Function*/): ISocketIOMiddleware;
|
function authorize(options: IOptions/*, onConnection: Function*/): ISocketIOMiddleware;
|
||||||
|
Loading…
Reference in New Issue
Block a user