Page MenuHomePhabricator

D9984.diff
No OneTemporary

D9984.diff

diff --git a/lib/flow-typed/web-crypto-common.js b/lib/flow-typed/web-crypto-common.js
--- a/lib/flow-typed/web-crypto-common.js
+++ b/lib/flow-typed/web-crypto-common.js
@@ -20,16 +20,7 @@
| 'wrapKey'
| 'unwrapKey';
-declare type CryptoKey = {
- +algorithm:
- | SubtleCrypto$AesKeyGenParams
- | SubtleCrypto$RsaHashedKeyGenParams
- | SubtleCrypto$EcKeyGenParams
- | SubtleCrypto$HmacKeyGenParams,
- +extractable: boolean,
- +type: CryptoKey$Type,
- +usages: $ReadOnlyArray<CryptoKey$Usages>,
-};
+declare type CryptoKey = SubtleCrypto$JsonWebKey;
type SubtleCrypto$KeyFormatWithoutJwk = 'pkcs8' | 'raw' | 'spki';
type SubtleCrypto$KeyFormat = 'jwk' | SubtleCrypto$KeyFormatWithoutJwk;

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 27, 3:55 AM (21 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2586419
Default Alt Text
D9984.diff (715 B)

Event Timeline