diff --git a/types/ssh2/index.d.ts b/types/ssh2/index.d.ts index 6f6daae1d3..25bcfef52e 100644 --- a/types/ssh2/index.d.ts +++ b/types/ssh2/index.d.ts @@ -1,6 +1,8 @@ // Type definitions for ssh2 v0.5.x // Project: https://github.com/mscdex/ssh2 -// Definitions by: Qubo , Ron Buckton +// Definitions by: Qubo +// Ron Buckton +// Will Boyce // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// @@ -449,6 +451,8 @@ export interface ConnectConfig { agentForward?: boolean; /** Explicit overrides for the default transport layer algorithms used for the connection. */ algorithms?: Algorithms; + /** Compression settings: true (prefer), false (never), 'force' (require) */ + compress?: boolean | 'force'; /** A function that receives a single string argument to get detailed (local) debug information. */ debug?: (information: string) => any; }