diff --git a/src/adapter/bun/websocket.ts b/src/adapter/bun/websocket.ts index 34b5b1ef..9c9dc8b0 100644 --- a/src/adapter/bun/websocket.ts +++ b/src/adapter/bun/websocket.ts @@ -15,7 +15,7 @@ export interface BunServerWebSocket { interface BunWebSocketHandler { open(ws: BunServerWebSocket): void close(ws: BunServerWebSocket, code?: number, reason?: string): void - message(ws: BunServerWebSocket, message: string | Uint8Array): void + message(ws: BunServerWebSocket, message: string | { buffer: ArrayBufferLike }): void } interface CreateWebSocket { upgradeWebSocket: UpgradeWebSocket