TypeScript: fix SymEncryptedSessionKeyPacket type name (#1583)

Co-authored-by: DESKTOP-KRJIM7J\Roman <rrrooommmaaa@outlook.com>
This commit is contained in:
Roman
2023-01-04 19:41:58 +03:00
committed by GitHub
parent 4379bfb7ec
commit 2bc07996fa

2
openpgp.d.ts vendored
View File

@@ -427,7 +427,7 @@ export class PublicKeyEncryptedSessionKeyPacket extends BasePacket {
private encrypt(keyPacket: PublicKeyPacket): void; // throws on error
}
export class SymEncryptedSessionKey extends BasePacket {
export class SymEncryptedSessionKeyPacket extends BasePacket {
static readonly tag: enums.packet.symEncryptedSessionKey;
private decrypt(passphrase: string): Promise<void>;
private encrypt(passphrase: string, config?: Config): Promise<void>;