Skip to content

Commit

Permalink
Update types
Browse files Browse the repository at this point in the history
  • Loading branch information
larabr committed Dec 22, 2020
1 parent 83981b7 commit 6ff50c5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions openpgp.d.ts
Expand Up @@ -621,9 +621,10 @@ export type EllipticCurveName = 'ed25519' | 'curve25519' | 'p256' | 'p384' | 'p5
interface KeyOptions {
userIds: UserId[]; // generating a key with no user defined results in error
passphrase?: string;
numBits?: number;
keyExpirationTime?: number;
type?: 'ecc' | 'rsa';
curve?: EllipticCurveName;
rsaBits?: number;
keyExpirationTime?: number;
date?: Date;
subkeys?: KeyOptions[];
}
Expand Down

0 comments on commit 6ff50c5

Please sign in to comment.