File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/scala/org/scalajs/dom/crypto Expand file tree Collapse file tree 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 {
265265 */
266266 def importKey (format : KeyFormat , keyData : BufferSource ,
267267 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
269269
270270 /**
271271 * Returns a Promise of a CryptoKey corresponding to the format, the
@@ -280,7 +280,7 @@ trait SubtleCrypto extends js.Object {
280280 */
281281 def importKey (format : KeyFormat , keyData : JsonWebKey ,
282282 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
284284
285285 /**
286286 * 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