mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
🤖 Merge PR #46701 @types/sshpk: Add optional comment field to PrivateKey by @jeffrson
This commit is contained in:
parent
99fccde322
commit
631e671167
3
types/sshpk/index.d.ts
vendored
3
types/sshpk/index.d.ts
vendored
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user