diff --git a/src/shared/protocol.ts b/src/shared/protocol.ts index 6142140d..b19a6c5c 100644 --- a/src/shared/protocol.ts +++ b/src/shared/protocol.ts @@ -217,7 +217,10 @@ export abstract class Protocol< /** * A handler to invoke for any request types that do not have their own handler installed. */ - fallbackRequestHandler?: (request: Request) => Promise; + fallbackRequestHandler?: ( + request: JSONRPCRequest, + extra: RequestHandlerExtra + ) => Promise; /** * A handler to invoke for any notification types that do not have their own handler installed.