Fix ci problems

This commit is contained in:
Lucas Motta
2018-11-29 10:32:40 +00:00
parent b2133e941c
commit 3c744b74be
+5 -6
View File
@@ -1,7 +1,6 @@
// Type definitions for ssh2-streams v0.1.9
// Project: https://github.com/mscdex/ssh2-streams
// Definitions by: Ron Buckton <https://github.com/rbuckton>
// Definitions by: Lucas Motta <https://github.com/lucasmotta>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
@@ -1631,11 +1630,6 @@ export interface TransferOptions {
step?: (total_transferred: number, chunk: number, total: number) => void;
}
export interface ReadFileOptions {
encoding?: string
flag?: string
}
export interface ReadStreamOptions {
flags?: string;
encoding?: string;
@@ -1704,4 +1698,9 @@ export interface ParsedKey {
publicOrig: Buffer;
ppk?: boolean;
privateMAC?: string;
}
export interface ReadFileOptions {
encoding?: string;
flag?: string;
}