TypeScript: fix signature of armor function: add customComment (#1585)

This commit is contained in:
Roman
2023-01-19 18:45:18 +03:00
committed by GitHub
parent 2bc07996fa
commit 7a1a67c718

2
openpgp.d.ts vendored
View File

@@ -721,7 +721,7 @@ interface VerifyMessageResult {
/**
* Armor an OpenPGP binary packet block
*/
export function armor(messagetype: enums.armor, body: object, partindex?: number, parttotal?: number, config?: Config): string;
export function armor(messagetype: enums.armor, body: object, partindex?: number, parttotal?: number, customComment?: string, config?: Config): string;
/**
* DeArmor an OpenPGP armored message; verify the checksum and return the encoded bytes