diff --git a/types/ssh2-sftp-client/index.d.ts b/types/ssh2-sftp-client/index.d.ts index 2d8c4409e1..1a3469d71d 100644 --- a/types/ssh2-sftp-client/index.d.ts +++ b/types/ssh2-sftp-client/index.d.ts @@ -6,6 +6,7 @@ // Michael Pertl // Orblazer // Taylor Herron +// Lane Goldberg // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped import * as ssh2 from 'ssh2'; @@ -24,7 +25,7 @@ declare class sftp { realPath(remotePath: string): Promise; - get(path: string, dst?: string | NodeJS.ReadableStream, options?: boolean): Promise; + get(path: string, dst?: string | NodeJS.ReadableStream, options?: ssh2Stream.TransferOptions): Promise; fastGet(remoteFilePath: string, localPath: string, options?: ssh2Stream.TransferOptions): Promise;