Skip to content

Commit 6dd3460

Browse files
committed
CryptoKeyPair is not a type in JS world
1 parent ab359b6 commit 6dd3460

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/src/crypto_subtle.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ class CryptoKey {
9797
/// Interface for the [CryptoKeyPair][1].
9898
///
9999
/// [1]: https://www.w3.org/TR/WebCryptoAPI/#keypair
100-
@JS('CryptoKeyPair')
100+
@JS()
101+
@anonymous
101102
class CryptoKeyPair {
102103
external CryptoKey get privateKey;
103104
external CryptoKey get publicKey;

0 commit comments

Comments
 (0)