Skip to content

Commit

Permalink
feat: revise ftp-srv.d.ts support connect
Browse files Browse the repository at this point in the history
  • Loading branch information
lygstate committed Aug 24, 2024
1 parent 8fd7136 commit 90b61fc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ftp-srv.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,14 @@ export class FtpServer extends EventEmitter {
) => void
): this;

on(
event: "connect",
listener: (data: { connection: FtpConnection; id: string; newConnectionCount: number }) => void
): this;

on(
event: "disconnect",
listener: (data: { connection: FtpConnection; id: string }) => void
listener: (data: { connection: FtpConnection; id: string; newConnectionCount: number }) => void
): this;

on(
Expand Down

0 comments on commit 90b61fc

Please sign in to comment.