mirror of
https://github.com/stablyai/orca.git
synced 2026-10-22 08:03:37 +00:00
Fix React Doctor array type check
This commit is contained in:
@@ -52,7 +52,7 @@ export function subscribeAllHostListener(
|
||||
|
||||
export function listHostClients(
|
||||
entries: ReadonlyMap<string, { client: RpcClient }>
|
||||
): Array<{ hostId: string; client: RpcClient }> {
|
||||
): { hostId: string; client: RpcClient }[] {
|
||||
return [...entries].map(([hostId, entry]) => ({ hostId, client: entry.client }))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user