diff --git a/src/peer.ts b/src/peer.ts index d155c6d..687a30b 100644 --- a/src/peer.ts +++ b/src/peer.ts @@ -2,6 +2,7 @@ import Proxy from "./proxy.js"; import Socket from "./socket.js"; import { Buffer } from "buffer"; export type OnOpen = ( + peer: Peer, socket: Socket, data: any ) =>