From 9c878981cfc2d9a59e21b8b991d7907b2872f14e Mon Sep 17 00:00:00 2001 From: Alexandre Negrel Date: Thu, 30 Jun 2022 07:53:05 +0200 Subject: fix(ext/crypto): add EcdhKeyDeriveParams to deriveKey types (#15005) --- ext/crypto/lib.deno_crypto.d.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ext/crypto/lib.deno_crypto.d.ts') 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; deriveKey( - algorithm: AlgorithmIdentifier | HkdfParams | Pbkdf2Params, + algorithm: + | AlgorithmIdentifier + | HkdfParams + | Pbkdf2Params + | EcdhKeyDeriveParams, baseKey: CryptoKey, derivedKeyType: | AlgorithmIdentifier -- cgit v1.2.3