From 37d0a227e490b8bc34e830bfa599357cc84d4893 Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 8 Nov 2026 20:12:48 -0800 Subject: [PATCH] Type browser lease mock with its subscription contract --- .../paired-runtime-browser-host-command-admission.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/browser/client-hosts/lifecycle/paired-runtime-browser-host-command-admission.test.ts b/src/main/browser/client-hosts/lifecycle/paired-runtime-browser-host-command-admission.test.ts index 412c16e221b..1728d75ba89 100644 --- a/src/main/browser/client-hosts/lifecycle/paired-runtime-browser-host-command-admission.test.ts +++ b/src/main/browser/client-hosts/lifecycle/paired-runtime-browser-host-command-admission.test.ts @@ -194,7 +194,9 @@ function createLease( }) } -async function subscribeLease(options?: { sendRequest?: ReturnType }): Promise<{ +async function subscribeLease(options?: { + sendRequest?: RemoteRuntimeTransportSubscription['sendRequest'] +}): Promise<{ callbacks: { current?: RemoteRuntimeTransportSubscriptionCallbacks } close: ReturnType }> {