File tree 1 file changed +2
-2
lines changed
src/main/scala/org/scalajs/dom/crypto
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -265,7 +265,7 @@ trait SubtleCrypto extends js.Object {
265
265
*/
266
266
def importKey (format : KeyFormat , keyData : BufferSource ,
267
267
algorithm : KeyAlgorithmIdentifier , extractable : Boolean ,
268
- keyUsages : js.Array [KeyUsage ]): js.Promise [js. Any ] = js.native
268
+ keyUsages : js.Array [KeyUsage ]): js.Promise [CryptoKey ] = js.native
269
269
270
270
/**
271
271
* Returns a Promise of a CryptoKey corresponding to the format, the
@@ -280,7 +280,7 @@ trait SubtleCrypto extends js.Object {
280
280
*/
281
281
def importKey (format : KeyFormat , keyData : JsonWebKey ,
282
282
algorithm : KeyAlgorithmIdentifier , extractable : Boolean ,
283
- keyUsages : js.Array [KeyUsage ]): js.Promise [js. Any ] = js.native
283
+ keyUsages : js.Array [KeyUsage ]): js.Promise [CryptoKey ] = js.native
284
284
285
285
/**
286
286
* Returns a Promise of a buffer containing the key in the format requested.
You can’t perform that action at this time.
0 commit comments