Skip to content

Commit 8079f74

Browse files
committed
PR feedback
1 parent da9f4b4 commit 8079f74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cloud/src/bridge/SocketTransport.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { io, type Socket } from "socket.io-client"
1+
import { io, type Socket, type SocketOptions, type ManagerOptions } from "socket.io-client"
22

33
import { ConnectionState, type RetryConfig } from "@roo-code/types"
44

55
export interface SocketTransportOptions {
66
url: string
7-
socketOptions: Record<string, unknown>
7+
socketOptions: Partial<ManagerOptions & SocketOptions>
88
onConnect?: () => void | Promise<void>
99
onDisconnect?: (reason: string) => void
1010
onReconnect?: (attemptNumber: number) => void | Promise<void>

0 commit comments

Comments
 (0)