summaryrefslogtreecommitdiff
path: root/ext/crypto/lib.deno_crypto.d.ts
diff options
context:
space:
mode:
authorFilip Skokan <panva.ip@gmail.com>2022-03-11 15:05:40 +0100
committerGitHub <noreply@github.com>2022-03-11 19:35:40 +0530
commit6ecadf63982ef61b57f73faefdd942dc41f84ee6 (patch)
tree4a1f2c02bcefe6291c203c29df713f12cf983602 /ext/crypto/lib.deno_crypto.d.ts
parent47f22777beb7eb98a07fa56fbbd40ab5c1fa231e (diff)
fix(ext/crypto): use EcKeyImportParams dictionary (#13894)
Diffstat (limited to 'ext/crypto/lib.deno_crypto.d.ts')
-rw-r--r--ext/crypto/lib.deno_crypto.d.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/crypto/lib.deno_crypto.d.ts b/ext/crypto/lib.deno_crypto.d.ts
index 3ab6bda36..a5c775a02 100644
--- a/ext/crypto/lib.deno_crypto.d.ts
+++ b/ext/crypto/lib.deno_crypto.d.ts
@@ -82,7 +82,7 @@ interface EcKeyGenParams extends Algorithm {
namedCurve: NamedCurve;
}
-interface EcImportParams extends Algorithm {
+interface EcKeyImportParams extends Algorithm {
namedCurve: NamedCurve;
}
@@ -210,7 +210,7 @@ interface SubtleCrypto {
| AlgorithmIdentifier
| HmacImportParams
| RsaHashedImportParams
- | EcImportParams,
+ | EcKeyImportParams,
extractable: boolean,
keyUsages: KeyUsage[],
): Promise<CryptoKey>;
@@ -221,7 +221,7 @@ interface SubtleCrypto {
| AlgorithmIdentifier
| HmacImportParams
| RsaHashedImportParams
- | EcImportParams,
+ | EcKeyImportParams,
extractable: boolean,
keyUsages: KeyUsage[],
): Promise<CryptoKey>;
@@ -309,7 +309,7 @@ interface SubtleCrypto {
| AlgorithmIdentifier
| HmacImportParams
| RsaHashedImportParams
- | EcImportParams,
+ | EcKeyImportParams,
extractable: boolean,
keyUsages: KeyUsage[],
): Promise<CryptoKey>;