mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 21:00:16 +08:00
fix(crypto): error expectation
This commit is contained in:
@ -580,6 +580,7 @@ export class SubtleCrypto {
|
||||
default:
|
||||
reject(
|
||||
new Error(
|
||||
// @ts-expect-error
|
||||
`'subtle.generateKey()' is not implemented for ${algorithm?.name}.
|
||||
Unrecognized algorithm name`,
|
||||
),
|
||||
|
Reference in New Issue
Block a user