Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
91be338ebd | ||
|
|
2a5013447c |
4
ftp-srv.d.ts
vendored
4
ftp-srv.d.ts
vendored
@@ -41,7 +41,7 @@ export class FileSystem {
|
||||
getUniqueName(): string;
|
||||
}
|
||||
|
||||
export class FtpConnection {
|
||||
export class FtpConnection extends EventEmitter {
|
||||
server: FtpServer;
|
||||
id: string;
|
||||
log: any;
|
||||
@@ -69,7 +69,7 @@ export interface FtpServerOptions {
|
||||
log?: any
|
||||
}
|
||||
|
||||
export class FtpServer {
|
||||
export class FtpServer extends EventEmitter {
|
||||
constructor(url: string, options?: FtpServerOptions);
|
||||
|
||||
readonly isTLS: boolean;
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
const FtpSrv = require('./src');
|
||||
const FileSystem = require('./src/fs');
|
||||
const errors = require('./src/errors');
|
||||
|
||||
module.exports = FtpSrv;
|
||||
module.exports.FtpSrv = FtpSrv;
|
||||
module.exports.FileSystem = FileSystem;
|
||||
module.exports.ftpErrors = errors;
|
||||
|
||||
Reference in New Issue
Block a user