1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-05 13:59:01 -05:00

fix(ext/crypto): add EcdhKeyDeriveParams to deriveKey types (#15005)

This commit is contained in:
Alexandre Negrel 2022-06-30 07:53:05 +02:00 committed by David Sherret
parent 6bddc4c757
commit eac136e607

View file

@ -275,7 +275,11 @@ interface SubtleCrypto {
length: number,
): Promise<ArrayBuffer>;
deriveKey(
algorithm: AlgorithmIdentifier | HkdfParams | Pbkdf2Params,
algorithm:
| AlgorithmIdentifier
| HkdfParams
| Pbkdf2Params
| EcdhKeyDeriveParams,
baseKey: CryptoKey,
derivedKeyType:
| AlgorithmIdentifier