diff options
author | Alexandre Negrel <negrel.dev@protonmail.com> | 2022-06-30 07:53:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-30 11:23:05 +0530 |
commit | 9c878981cfc2d9a59e21b8b991d7907b2872f14e (patch) | |
tree | 74308288597771a41932a8f7767bf3446bee0f69 /ext/crypto/lib.deno_crypto.d.ts | |
parent | ebc8a3ccf206cf7cd29d813fedf5e8f4507113d5 (diff) |
fix(ext/crypto): add EcdhKeyDeriveParams to deriveKey types (#15005)
Diffstat (limited to 'ext/crypto/lib.deno_crypto.d.ts')
-rw-r--r-- | ext/crypto/lib.deno_crypto.d.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/crypto/lib.deno_crypto.d.ts b/ext/crypto/lib.deno_crypto.d.ts index 7f7703e88..1b36acc70 100644 --- a/ext/crypto/lib.deno_crypto.d.ts +++ b/ext/crypto/lib.deno_crypto.d.ts @@ -275,7 +275,11 @@ interface SubtleCrypto { length: number, ): Promise<ArrayBuffer>; deriveKey( - algorithm: AlgorithmIdentifier | HkdfParams | Pbkdf2Params, + algorithm: + | AlgorithmIdentifier + | HkdfParams + | Pbkdf2Params + | EcdhKeyDeriveParams, baseKey: CryptoKey, derivedKeyType: | AlgorithmIdentifier |