Skip to content

Commit

Permalink
fix(bun/ws): fix invalid types (honojs#3562)
Browse files Browse the repository at this point in the history
  • Loading branch information
nakasyou authored and TinsFox committed Oct 28, 2024
1 parent 189fa64 commit f0a63ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapter/bun/websocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export interface BunServerWebSocket<T> {
interface BunWebSocketHandler<T> {
open(ws: BunServerWebSocket<T>): void
close(ws: BunServerWebSocket<T>, code?: number, reason?: string): void
message(ws: BunServerWebSocket<T>, message: string | Uint8Array): void
message(ws: BunServerWebSocket<T>, message: string | { buffer: ArrayBufferLike }): void
}
interface CreateWebSocket<T> {
upgradeWebSocket: UpgradeWebSocket<T>
Expand Down

0 comments on commit f0a63ea

Please sign in to comment.