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:
parent
6bddc4c757
commit
eac136e607
1 changed files with 5 additions and 1 deletions
6
ext/crypto/lib.deno_crypto.d.ts
vendored
6
ext/crypto/lib.deno_crypto.d.ts
vendored
|
@ -275,7 +275,11 @@ interface SubtleCrypto {
|
|||
length: number,
|
||||
): Promise<ArrayBuffer>;
|
||||
deriveKey(
|
||||
algorithm: AlgorithmIdentifier | HkdfParams | Pbkdf2Params,
|
||||
algorithm:
|
||||
| AlgorithmIdentifier
|
||||
| HkdfParams
|
||||
| Pbkdf2Params
|
||||
| EcdhKeyDeriveParams,
|
||||
baseKey: CryptoKey,
|
||||
derivedKeyType:
|
||||
| AlgorithmIdentifier
|
||||
|
|
Loading…
Reference in a new issue