From eac136e607b5d038eb8d69508f76e4a10ceb88f5 Mon Sep 17 00:00:00 2001 From: Alexandre Negrel Date: Thu, 30 Jun 2022 07:53:05 +0200 Subject: [PATCH] fix(ext/crypto): add EcdhKeyDeriveParams to deriveKey types (#15005) --- ext/crypto/lib.deno_crypto.d.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ext/crypto/lib.deno_crypto.d.ts b/ext/crypto/lib.deno_crypto.d.ts index 7f7703e889..1b36acc70f 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; deriveKey( - algorithm: AlgorithmIdentifier | HkdfParams | Pbkdf2Params, + algorithm: + | AlgorithmIdentifier + | HkdfParams + | Pbkdf2Params + | EcdhKeyDeriveParams, baseKey: CryptoKey, derivedKeyType: | AlgorithmIdentifier