fix: Add server property of FtpServer to type definition
This commit is contained in:
2
ftp-srv.d.ts
vendored
2
ftp-srv.d.ts
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user