The armoured key material openpgp.reformatKey / revokeKey return.
Declared here rather than inferred: openpgp 6 types these as
SerializedKeyPair<string> & { revocationCertificate: string }, and
SerializedKeyPair is not exported from the package root, so TypeScript
cannot name it in the emitted declarations (TS4023/TS4058). Both calls
pass format: "armored", so every field is a string.
The armoured key material
openpgp.reformatKey/revokeKeyreturn.Declared here rather than inferred: openpgp 6 types these as
SerializedKeyPair<string> & { revocationCertificate: string }, andSerializedKeyPairis not exported from the package root, so TypeScript cannot name it in the emitted declarations (TS4023/TS4058). Both calls passformat: "armored", so every field is a string.