diff --git a/mobile/src/transport/host-client-context-state.ts b/mobile/src/transport/host-client-context-state.ts index 689fba150cf..e0f7243baa8 100644 --- a/mobile/src/transport/host-client-context-state.ts +++ b/mobile/src/transport/host-client-context-state.ts @@ -52,7 +52,7 @@ export function subscribeAllHostListener( export function listHostClients( entries: ReadonlyMap -): Array<{ hostId: string; client: RpcClient }> { +): { hostId: string; client: RpcClient }[] { return [...entries].map(([hostId, entry]) => ({ hostId, client: entry.client })) }