🤖 Merge PR #46701 @types/sshpk: Add optional comment field to PrivateKey by @jeffrson

This commit is contained in:
jeffrson 2020-08-13 20:24:53 +02:00 committed by GitHub
parent 99fccde322
commit 631e671167
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -268,8 +268,11 @@ declare namespace SshPK {
}
class PrivateKey {
comment?: string;
constructor(opts: any);
static formats: Formats;
toBuffer(format: string, options: any): Buffer;
hash(algo: string): Buffer;
toPublic(): Key;