Skip to content

Commit

Permalink
fix(typings): updated typescript typings to allow compiling with noIm…
Browse files Browse the repository at this point in the history
…plicitAny option enabled
  • Loading branch information
qchar authored and trs committed May 7, 2018
1 parent 4205caf commit 1b5d22a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ftp-srv.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import * as tls from 'tls'
import { Stats } from 'fs'
import { EventEmitter } from 'events';

export class FileSystem {

Expand Down Expand Up @@ -107,15 +108,15 @@ export class FtpServer {
whitelist?: Array<string>
}) => void,
reject: (err?: Error) => void
) => void)
) => void): EventEmitter;

on(event: "client-error", listener: (
data: {
connection: FtpConnection,
context: string,
error: Error,
}
) => void)
) => void): EventEmitter;
}

export {FtpServer as FtpSrv};
Expand Down

0 comments on commit 1b5d22a

Please # to comment.