From 6ecadf63982ef61b57f73faefdd942dc41f84ee6 Mon Sep 17 00:00:00 2001 From: Filip Skokan Date: Fri, 11 Mar 2022 15:05:40 +0100 Subject: fix(ext/crypto): use EcKeyImportParams dictionary (#13894) --- ext/crypto/lib.deno_crypto.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (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 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; @@ -221,7 +221,7 @@ interface SubtleCrypto { | AlgorithmIdentifier | HmacImportParams | RsaHashedImportParams - | EcImportParams, + | EcKeyImportParams, extractable: boolean, keyUsages: KeyUsage[], ): Promise; @@ -309,7 +309,7 @@ interface SubtleCrypto { | AlgorithmIdentifier | HmacImportParams | RsaHashedImportParams - | EcImportParams, + | EcKeyImportParams, extractable: boolean, keyUsages: KeyUsage[], ): Promise; -- cgit v1.2.3