Skip to content

Commit

Permalink
fix(typescript): generateKeyPair never returns Uint8Array
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Aug 20, 2021
1 parent b3b470e commit 73adc01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/generate_key_pair.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ export interface GenerateKeyPairResult {
/**
* The generated Private Key.
*/
privateKey: KeyLike
privateKey: Exclude<KeyLike, Uint8Array>

/**
* Public Key corresponding to the generated Private Key.
*/
publicKey: KeyLike
publicKey: Exclude<KeyLike, Uint8Array>
}

export interface GenerateKeyPairOptions {
Expand Down

0 comments on commit 73adc01

Please sign in to comment.