Skip to content

Commit 72f46d4

Browse files
Update src/shared/transport.ts
Co-authored-by: Justin Spahr-Summers <[email protected]>
1 parent 7b20fd7 commit 72f46d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/transport.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export interface Transport {
4444
* Includes the authInfo if the transport is authenticated.
4545
*
4646
*/
47-
onmessage?: (message: JSONRPCMessage, authInfo?: AuthInfo) => void;
47+
onmessage?: (message: JSONRPCMessage, extra?: { authInfo?: AuthInfo }) => void;
4848

4949
/**
5050
* The session ID generated for this connection.

0 commit comments

Comments
 (0)