fix: Add server property of FtpServer to type definition

This commit is contained in:
T. R. Bernstein
2025-06-08 01:10:09 +02:00
parent 7a51ed9d07
commit 1cfb94829e

2
ftp-srv.d.ts vendored
View File

@@ -1,3 +1,4 @@
import type { Server } from 'node:net'
const EventEmitter = import('events').EventEmitter
export class FileSystem {
@@ -120,6 +121,7 @@ export interface FtpServerOptions {
}
export class FtpServer extends EventEmitter {
server: Server
constructor(options?: FtpServerOptions)
readonly isTLS: boolean