From b9611cecd7904ec38c61dcc99abcf56634edb065 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 2 Mar 2023 05:30:51 -0500 Subject: [PATCH] *Update OnOpen type --- src/peer.ts | 1 + 1 file changed, 1 insertion(+) 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 ) =>