-
-
Save Ashoat/b83564168fda704b2ce9d8051d0f472e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error ---------------------------------------------------------------------------------- account/account-hooks.js:236:37 | |
Cannot assign `await exportKeyToJWK(...)` to `cryptoKeyPersistentForm` because property `alg` is missing in | |
`CryptoKey` [1] but exists in `SubtleCrypto$JsonWebKey` [2]. All writes to `cryptoKeyPersistentForm` must be compatible | |
with the type of its initializer [3]. Add an annotation to `cryptoKeyPersistentForm` [3] if a different type is desired. | |
[prop-missing] | |
account/account-hooks.js:236:37 | |
236| cryptoKeyPersistentForm = await exportKeyToJWK(encryptionKey); | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
References: | |
crypto/aes-gcm-crypto-utils.js:18:13 | |
18| }): Promise<CryptoKey> { | |
^^^^^^^^^ [1] | |
crypto/aes-gcm-crypto-utils.js:70:12 | |
70| ): Promise<SubtleCrypto$JsonWebKey> { | |
^^^^^^^^^^^^^^^^^^^^^^^ [2] | |
account/account-hooks.js:232:13 | |
232| let cryptoKeyPersistentForm = encryptionKey; | |
^^^^^^^^^^^^^^^^^^^^^^^ [3] | |
Error ---------------------------------------------------------------------------------- account/account-hooks.js:236:37 | |
Cannot assign `await exportKeyToJWK(...)` to `cryptoKeyPersistentForm` because property `algorithm` is missing in | |
`SubtleCrypto$JsonWebKey` [1] but exists in `CryptoKey` [2]. All writes to `cryptoKeyPersistentForm` must be compatible | |
with the type of its initializer [3]. Add an annotation to `cryptoKeyPersistentForm` [3] if a different type is desired. | |
[prop-missing] | |
account/account-hooks.js:236:37 | |
236| cryptoKeyPersistentForm = await exportKeyToJWK(encryptionKey); | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
References: | |
crypto/aes-gcm-crypto-utils.js:70:12 | |
70| ): Promise<SubtleCrypto$JsonWebKey> { | |
^^^^^^^^^^^^^^^^^^^^^^^ [1] | |
crypto/aes-gcm-crypto-utils.js:18:13 | |
18| }): Promise<CryptoKey> { | |
^^^^^^^^^ [2] | |
account/account-hooks.js:232:13 | |
232| let cryptoKeyPersistentForm = encryptionKey; | |
^^^^^^^^^^^^^^^^^^^^^^^ [3] | |
Error ---------------------------------------------------------------------------------- account/account-hooks.js:236:37 | |
Cannot assign `await exportKeyToJWK(...)` to `cryptoKeyPersistentForm` because property `crv` is missing in | |
`CryptoKey` [1] but exists in `SubtleCrypto$JsonWebKey` [2]. All writes to `cryptoKeyPersistentForm` must be compatible | |
with the type of its initializer [3]. Add an annotation to `cryptoKeyPersistentForm` [3] if a different type is desired. | |
[prop-missing] | |
account/account-hooks.js:236:37 | |
236| cryptoKeyPersistentForm = await exportKeyToJWK(encryptionKey); | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
References: | |
crypto/aes-gcm-crypto-utils.js:18:13 | |
18| }): Promise<CryptoKey> { | |
^^^^^^^^^ [1] | |
crypto/aes-gcm-crypto-utils.js:70:12 | |
70| ): Promise<SubtleCrypto$JsonWebKey> { | |
^^^^^^^^^^^^^^^^^^^^^^^ [2] | |
account/account-hooks.js:232:13 | |
232| let cryptoKeyPersistentForm = encryptionKey; | |
^^^^^^^^^^^^^^^^^^^^^^^ [3] | |
Error ---------------------------------------------------------------------------------- account/account-hooks.js:236:37 | |
Cannot assign `await exportKeyToJWK(...)` to `cryptoKeyPersistentForm` because property `d` is missing in | |
`CryptoKey` [1] but exists in `SubtleCrypto$JsonWebKey` [2]. All writes to `cryptoKeyPersistentForm` must be compatible | |
with the type of its initializer [3]. Add an annotation to `cryptoKeyPersistentForm` [3] if a different type is desired. | |
[prop-missing] | |
account/account-hooks.js:236:37 | |
236| cryptoKeyPersistentForm = await exportKeyToJWK(encryptionKey); | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
References: | |
crypto/aes-gcm-crypto-utils.js:18:13 | |
18| }): Promise<CryptoKey> { | |
^^^^^^^^^ [1] | |
crypto/aes-gcm-crypto-utils.js:70:12 | |
70| ): Promise<SubtleCrypto$JsonWebKey> { | |
^^^^^^^^^^^^^^^^^^^^^^^ [2] | |
account/account-hooks.js:232:13 | |
232| let cryptoKeyPersistentForm = encryptionKey; | |
^^^^^^^^^^^^^^^^^^^^^^^ [3] | |
Error ---------------------------------------------------------------------------------- account/account-hooks.js:236:37 | |
Cannot assign `await exportKeyToJWK(...)` to `cryptoKeyPersistentForm` because property `dp` is missing in | |
`CryptoKey` [1] but exists in `SubtleCrypto$JsonWebKey` [2]. All writes to `cryptoKeyPersistentForm` must be compatible | |
with the type of its initializer [3]. Add an annotation to `cryptoKeyPersistentForm` [3] if a different type is desired. | |
[prop-missing] | |
account/account-hooks.js:236:37 | |
236| cryptoKeyPersistentForm = await exportKeyToJWK(encryptionKey); | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
References: | |
crypto/aes-gcm-crypto-utils.js:18:13 | |
18| }): Promise<CryptoKey> { | |
^^^^^^^^^ [1] | |
crypto/aes-gcm-crypto-utils.js:70:12 | |
70| ): Promise<SubtleCrypto$JsonWebKey> { | |
^^^^^^^^^^^^^^^^^^^^^^^ [2] | |
account/account-hooks.js:232:13 | |
232| let cryptoKeyPersistentForm = encryptionKey; | |
^^^^^^^^^^^^^^^^^^^^^^^ [3] | |
Error ---------------------------------------------------------------------------------- account/account-hooks.js:236:37 | |
Cannot assign `await exportKeyToJWK(...)` to `cryptoKeyPersistentForm` because property `dq` is missing in | |
`CryptoKey` [1] but exists in `SubtleCrypto$JsonWebKey` [2]. All writes to `cryptoKeyPersistentForm` must be compatible | |
with the type of its initializer [3]. Add an annotation to `cryptoKeyPersistentForm` [3] if a different type is desired. | |
[prop-missing] | |
account/account-hooks.js:236:37 | |
236| cryptoKeyPersistentForm = await exportKeyToJWK(encryptionKey); | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
References: | |
crypto/aes-gcm-crypto-utils.js:18:13 | |
18| }): Promise<CryptoKey> { | |
^^^^^^^^^ [1] | |
crypto/aes-gcm-crypto-utils.js:70:12 | |
70| ): Promise<SubtleCrypto$JsonWebKey> { | |
^^^^^^^^^^^^^^^^^^^^^^^ [2] | |
account/account-hooks.js:232:13 | |
232| let cryptoKeyPersistentForm = encryptionKey; | |
^^^^^^^^^^^^^^^^^^^^^^^ [3] | |
Error ---------------------------------------------------------------------------------- account/account-hooks.js:236:37 | |
Cannot assign `await exportKeyToJWK(...)` to `cryptoKeyPersistentForm` because property `e` is missing in | |
`CryptoKey` [1] but exists in `SubtleCrypto$JsonWebKey` [2]. All writes to `cryptoKeyPersistentForm` must be compatible | |
with the type of its initializer [3]. Add an annotation to `cryptoKeyPersistentForm` [3] if a different type is desired. | |
[prop-missing] | |
account/account-hooks.js:236:37 | |
236| cryptoKeyPersistentForm = await exportKeyToJWK(encryptionKey); | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
References: | |
crypto/aes-gcm-crypto-utils.js:18:13 | |
18| }): Promise<CryptoKey> { | |
^^^^^^^^^ [1] | |
crypto/aes-gcm-crypto-utils.js:70:12 | |
70| ): Promise<SubtleCrypto$JsonWebKey> { | |
^^^^^^^^^^^^^^^^^^^^^^^ [2] | |
account/account-hooks.js:232:13 | |
232| let cryptoKeyPersistentForm = encryptionKey; | |
^^^^^^^^^^^^^^^^^^^^^^^ [3] | |
Error ---------------------------------------------------------------------------------- account/account-hooks.js:236:37 | |
Cannot assign `await exportKeyToJWK(...)` to `cryptoKeyPersistentForm` because property `ext` is missing in | |
`CryptoKey` [1] but exists in `SubtleCrypto$JsonWebKey` [2]. All writes to `cryptoKeyPersistentForm` must be compatible | |
with the type of its initializer [3]. Add an annotation to `cryptoKeyPersistentForm` [3] if a different type is desired. | |
[prop-missing] | |
account/account-hooks.js:236:37 | |
236| cryptoKeyPersistentForm = await exportKeyToJWK(encryptionKey); | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
References: | |
crypto/aes-gcm-crypto-utils.js:18:13 | |
18| }): Promise<CryptoKey> { | |
^^^^^^^^^ [1] | |
crypto/aes-gcm-crypto-utils.js:70:12 | |
70| ): Promise<SubtleCrypto$JsonWebKey> { | |
^^^^^^^^^^^^^^^^^^^^^^^ [2] | |
account/account-hooks.js:232:13 | |
232| let cryptoKeyPersistentForm = encryptionKey; | |
^^^^^^^^^^^^^^^^^^^^^^^ [3] | |
Error ---------------------------------------------------------------------------------- account/account-hooks.js:236:37 | |
Cannot assign `await exportKeyToJWK(...)` to `cryptoKeyPersistentForm` because property `extractable` is missing in | |
`SubtleCrypto$JsonWebKey` [1] but exists in `CryptoKey` [2]. All writes to `cryptoKeyPersistentForm` must be compatible | |
with the type of its initializer [3]. Add an annotation to `cryptoKeyPersistentForm` [3] if a different type is desired. | |
[prop-missing] | |
account/account-hooks.js:236:37 | |
236| cryptoKeyPersistentForm = await exportKeyToJWK(encryptionKey); | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
References: | |
crypto/aes-gcm-crypto-utils.js:70:12 | |
70| ): Promise<SubtleCrypto$JsonWebKey> { | |
^^^^^^^^^^^^^^^^^^^^^^^ [1] | |
crypto/aes-gcm-crypto-utils.js:18:13 | |
18| }): Promise<CryptoKey> { | |
^^^^^^^^^ [2] | |
account/account-hooks.js:232:13 | |
232| let cryptoKeyPersistentForm = encryptionKey; | |
^^^^^^^^^^^^^^^^^^^^^^^ [3] | |
Error ---------------------------------------------------------------------------------- account/account-hooks.js:236:37 | |
Cannot assign `await exportKeyToJWK(...)` to `cryptoKeyPersistentForm` because property `k` is missing in | |
`CryptoKey` [1] but exists in `SubtleCrypto$JsonWebKey` [2]. All writes to `cryptoKeyPersistentForm` must be compatible | |
with the type of its initializer [3]. Add an annotation to `cryptoKeyPersistentForm` [3] if a different type is desired. | |
[prop-missing] | |
account/account-hooks.js:236:37 | |
236| cryptoKeyPersistentForm = await exportKeyToJWK(encryptionKey); | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
References: | |
crypto/aes-gcm-crypto-utils.js:18:13 | |
18| }): Promise<CryptoKey> { | |
^^^^^^^^^ [1] | |
crypto/aes-gcm-crypto-utils.js:70:12 | |
70| ): Promise<SubtleCrypto$JsonWebKey> { | |
^^^^^^^^^^^^^^^^^^^^^^^ [2] | |
account/account-hooks.js:232:13 | |
232| let cryptoKeyPersistentForm = encryptionKey; | |
^^^^^^^^^^^^^^^^^^^^^^^ [3] | |
Error ---------------------------------------------------------------------------------- account/account-hooks.js:236:37 | |
Cannot assign `await exportKeyToJWK(...)` to `cryptoKeyPersistentForm` because property `key_ops` is missing in | |
`CryptoKey` [1] but exists in `SubtleCrypto$JsonWebKey` [2]. All writes to `cryptoKeyPersistentForm` must be compatible | |
with the type of its initializer [3]. Add an annotation to `cryptoKeyPersistentForm` [3] if a different type is desired. | |
[prop-missing] | |
account/account-hooks.js:236:37 | |
236| cryptoKeyPersistentForm = await exportKeyToJWK(encryptionKey); | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
References: | |
crypto/aes-gcm-crypto-utils.js:18:13 | |
18| }): Promise<CryptoKey> { | |
^^^^^^^^^ [1] | |
crypto/aes-gcm-crypto-utils.js:70:12 | |
70| ): Promise<SubtleCrypto$JsonWebKey> { | |
^^^^^^^^^^^^^^^^^^^^^^^ [2] | |
account/account-hooks.js:232:13 | |
232| let cryptoKeyPersistentForm = encryptionKey; | |
^^^^^^^^^^^^^^^^^^^^^^^ [3] | |
Error ---------------------------------------------------------------------------------- account/account-hooks.js:236:37 | |
Cannot assign `await exportKeyToJWK(...)` to `cryptoKeyPersistentForm` because property `kty` is missing in | |
`CryptoKey` [1] but exists in `SubtleCrypto$JsonWebKey` [2]. All writes to `cryptoKeyPersistentForm` must be compatible | |
with the type of its initializer [3]. Add an annotation to `cryptoKeyPersistentForm` [3] if a different type is desired. | |
[prop-missing] | |
account/account-hooks.js:236:37 | |
236| cryptoKeyPersistentForm = await exportKeyToJWK(encryptionKey); | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
References: | |
crypto/aes-gcm-crypto-utils.js:18:13 | |
18| }): Promise<CryptoKey> { | |
^^^^^^^^^ [1] | |
crypto/aes-gcm-crypto-utils.js:70:12 | |
70| ): Promise<SubtleCrypto$JsonWebKey> { | |
^^^^^^^^^^^^^^^^^^^^^^^ [2] | |
account/account-hooks.js:232:13 | |
232| let cryptoKeyPersistentForm = encryptionKey; | |
^^^^^^^^^^^^^^^^^^^^^^^ [3] | |
Error ---------------------------------------------------------------------------------- account/account-hooks.js:236:37 | |
Cannot assign `await exportKeyToJWK(...)` to `cryptoKeyPersistentForm` because property `n` is missing in | |
`CryptoKey` [1] but exists in `SubtleCrypto$JsonWebKey` [2]. All writes to `cryptoKeyPersistentForm` must be compatible | |
with the type of its initializer [3]. Add an annotation to `cryptoKeyPersistentForm` [3] if a different type is desired. | |
[prop-missing] | |
account/account-hooks.js:236:37 | |
236| cryptoKeyPersistentForm = await exportKeyToJWK(encryptionKey); | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
References: | |
crypto/aes-gcm-crypto-utils.js:18:13 | |
18| }): Promise<CryptoKey> { | |
^^^^^^^^^ [1] | |
crypto/aes-gcm-crypto-utils.js:70:12 | |
70| ): Promise<SubtleCrypto$JsonWebKey> { | |
^^^^^^^^^^^^^^^^^^^^^^^ [2] | |
account/account-hooks.js:232:13 | |
232| let cryptoKeyPersistentForm = encryptionKey; | |
^^^^^^^^^^^^^^^^^^^^^^^ [3] | |
Error ---------------------------------------------------------------------------------- account/account-hooks.js:236:37 | |
Cannot assign `await exportKeyToJWK(...)` to `cryptoKeyPersistentForm` because property `oth` is missing in | |
`CryptoKey` [1] but exists in `SubtleCrypto$JsonWebKey` [2]. All writes to `cryptoKeyPersistentForm` must be compatible | |
with the type of its initializer [3]. Add an annotation to `cryptoKeyPersistentForm` [3] if a different type is desired. | |
[prop-missing] | |
account/account-hooks.js:236:37 | |
236| cryptoKeyPersistentForm = await exportKeyToJWK(encryptionKey); | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
References: | |
crypto/aes-gcm-crypto-utils.js:18:13 | |
18| }): Promise<CryptoKey> { | |
^^^^^^^^^ [1] | |
crypto/aes-gcm-crypto-utils.js:70:12 | |
70| ): Promise<SubtleCrypto$JsonWebKey> { | |
^^^^^^^^^^^^^^^^^^^^^^^ [2] | |
account/account-hooks.js:232:13 | |
232| let cryptoKeyPersistentForm = encryptionKey; | |
^^^^^^^^^^^^^^^^^^^^^^^ [3] | |
Error ---------------------------------------------------------------------------------- account/account-hooks.js:236:37 | |
Cannot assign `await exportKeyToJWK(...)` to `cryptoKeyPersistentForm` because property `p` is missing in | |
`CryptoKey` [1] but exists in `SubtleCrypto$JsonWebKey` [2]. All writes to `cryptoKeyPersistentForm` must be compatible | |
with the type of its initializer [3]. Add an annotation to `cryptoKeyPersistentForm` [3] if a different type is desired. | |
[prop-missing] | |
account/account-hooks.js:236:37 | |
236| cryptoKeyPersistentForm = await exportKeyToJWK(encryptionKey); | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
References: | |
crypto/aes-gcm-crypto-utils.js:18:13 | |
18| }): Promise<CryptoKey> { | |
^^^^^^^^^ [1] | |
crypto/aes-gcm-crypto-utils.js:70:12 | |
70| ): Promise<SubtleCrypto$JsonWebKey> { | |
^^^^^^^^^^^^^^^^^^^^^^^ [2] | |
account/account-hooks.js:232:13 | |
232| let cryptoKeyPersistentForm = encryptionKey; | |
^^^^^^^^^^^^^^^^^^^^^^^ [3] | |
Error ---------------------------------------------------------------------------------- account/account-hooks.js:236:37 | |
Cannot assign `await exportKeyToJWK(...)` to `cryptoKeyPersistentForm` because property `q` is missing in | |
`CryptoKey` [1] but exists in `SubtleCrypto$JsonWebKey` [2]. All writes to `cryptoKeyPersistentForm` must be compatible | |
with the type of its initializer [3]. Add an annotation to `cryptoKeyPersistentForm` [3] if a different type is desired. | |
[prop-missing] | |
account/account-hooks.js:236:37 | |
236| cryptoKeyPersistentForm = await exportKeyToJWK(encryptionKey); | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
References: | |
crypto/aes-gcm-crypto-utils.js:18:13 | |
18| }): Promise<CryptoKey> { | |
^^^^^^^^^ [1] | |
crypto/aes-gcm-crypto-utils.js:70:12 | |
70| ): Promise<SubtleCrypto$JsonWebKey> { | |
^^^^^^^^^^^^^^^^^^^^^^^ [2] | |
account/account-hooks.js:232:13 | |
232| let cryptoKeyPersistentForm = encryptionKey; | |
^^^^^^^^^^^^^^^^^^^^^^^ [3] | |
Error ---------------------------------------------------------------------------------- account/account-hooks.js:236:37 | |
Cannot assign `await exportKeyToJWK(...)` to `cryptoKeyPersistentForm` because property `qi` is missing in | |
`CryptoKey` [1] but exists in `SubtleCrypto$JsonWebKey` [2]. All writes to `cryptoKeyPersistentForm` must be compatible | |
with the type of its initializer [3]. Add an annotation to `cryptoKeyPersistentForm` [3] if a different type is desired. | |
[prop-missing] | |
account/account-hooks.js:236:37 | |
236| cryptoKeyPersistentForm = await exportKeyToJWK(encryptionKey); | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
References: | |
crypto/aes-gcm-crypto-utils.js:18:13 | |
18| }): Promise<CryptoKey> { | |
^^^^^^^^^ [1] | |
crypto/aes-gcm-crypto-utils.js:70:12 | |
70| ): Promise<SubtleCrypto$JsonWebKey> { | |
^^^^^^^^^^^^^^^^^^^^^^^ [2] | |
account/account-hooks.js:232:13 | |
232| let cryptoKeyPersistentForm = encryptionKey; | |
^^^^^^^^^^^^^^^^^^^^^^^ [3] | |
Error ---------------------------------------------------------------------------------- account/account-hooks.js:236:37 | |
Cannot assign `await exportKeyToJWK(...)` to `cryptoKeyPersistentForm` because property `type` is missing in | |
`SubtleCrypto$JsonWebKey` [1] but exists in `CryptoKey` [2]. All writes to `cryptoKeyPersistentForm` must be compatible | |
with the type of its initializer [3]. Add an annotation to `cryptoKeyPersistentForm` [3] if a different type is desired. | |
[prop-missing] | |
account/account-hooks.js:236:37 | |
236| cryptoKeyPersistentForm = await exportKeyToJWK(encryptionKey); | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
References: | |
crypto/aes-gcm-crypto-utils.js:70:12 | |
70| ): Promise<SubtleCrypto$JsonWebKey> { | |
^^^^^^^^^^^^^^^^^^^^^^^ [1] | |
crypto/aes-gcm-crypto-utils.js:18:13 | |
18| }): Promise<CryptoKey> { | |
^^^^^^^^^ [2] | |
account/account-hooks.js:232:13 | |
232| let cryptoKeyPersistentForm = encryptionKey; | |
^^^^^^^^^^^^^^^^^^^^^^^ [3] | |
Error ---------------------------------------------------------------------------------- account/account-hooks.js:236:37 | |
Cannot assign `await exportKeyToJWK(...)` to `cryptoKeyPersistentForm` because property `usages` is missing in | |
`SubtleCrypto$JsonWebKey` [1] but exists in `CryptoKey` [2]. All writes to `cryptoKeyPersistentForm` must be compatible | |
with the type of its initializer [3]. Add an annotation to `cryptoKeyPersistentForm` [3] if a different type is desired. | |
[prop-missing] | |
account/account-hooks.js:236:37 | |
236| cryptoKeyPersistentForm = await exportKeyToJWK(encryptionKey); | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
References: | |
crypto/aes-gcm-crypto-utils.js:70:12 | |
70| ): Promise<SubtleCrypto$JsonWebKey> { | |
^^^^^^^^^^^^^^^^^^^^^^^ [1] | |
crypto/aes-gcm-crypto-utils.js:18:13 | |
18| }): Promise<CryptoKey> { | |
^^^^^^^^^ [2] | |
account/account-hooks.js:232:13 | |
232| let cryptoKeyPersistentForm = encryptionKey; | |
^^^^^^^^^^^^^^^^^^^^^^^ [3] | |
Error ---------------------------------------------------------------------------------- account/account-hooks.js:236:37 | |
Cannot assign `await exportKeyToJWK(...)` to `cryptoKeyPersistentForm` because property `use` is missing in | |
`CryptoKey` [1] but exists in `SubtleCrypto$JsonWebKey` [2]. All writes to `cryptoKeyPersistentForm` must be compatible | |
with the type of its initializer [3]. Add an annotation to `cryptoKeyPersistentForm` [3] if a different type is desired. | |
[prop-missing] | |
account/account-hooks.js:236:37 | |
236| cryptoKeyPersistentForm = await exportKeyToJWK(encryptionKey); | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
References: | |
crypto/aes-gcm-crypto-utils.js:18:13 | |
18| }): Promise<CryptoKey> { | |
^^^^^^^^^ [1] | |
crypto/aes-gcm-crypto-utils.js:70:12 | |
70| ): Promise<SubtleCrypto$JsonWebKey> { | |
^^^^^^^^^^^^^^^^^^^^^^^ [2] | |
account/account-hooks.js:232:13 | |
232| let cryptoKeyPersistentForm = encryptionKey; | |
^^^^^^^^^^^^^^^^^^^^^^^ [3] | |
Error ---------------------------------------------------------------------------------- account/account-hooks.js:236:37 | |
Cannot assign `await exportKeyToJWK(...)` to `cryptoKeyPersistentForm` because property `x` is missing in | |
`CryptoKey` [1] but exists in `SubtleCrypto$JsonWebKey` [2]. All writes to `cryptoKeyPersistentForm` must be compatible | |
with the type of its initializer [3]. Add an annotation to `cryptoKeyPersistentForm` [3] if a different type is desired. | |
[prop-missing] | |
account/account-hooks.js:236:37 | |
236| cryptoKeyPersistentForm = await exportKeyToJWK(encryptionKey); | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
References: | |
crypto/aes-gcm-crypto-utils.js:18:13 | |
18| }): Promise<CryptoKey> { | |
^^^^^^^^^ [1] | |
crypto/aes-gcm-crypto-utils.js:70:12 | |
70| ): Promise<SubtleCrypto$JsonWebKey> { | |
^^^^^^^^^^^^^^^^^^^^^^^ [2] | |
account/account-hooks.js:232:13 | |
232| let cryptoKeyPersistentForm = encryptionKey; | |
^^^^^^^^^^^^^^^^^^^^^^^ [3] | |
Error ---------------------------------------------------------------------------------- account/account-hooks.js:236:37 | |
Cannot assign `await exportKeyToJWK(...)` to `cryptoKeyPersistentForm` because property `y` is missing in | |
`CryptoKey` [1] but exists in `SubtleCrypto$JsonWebKey` [2]. All writes to `cryptoKeyPersistentForm` must be compatible | |
with the type of its initializer [3]. Add an annotation to `cryptoKeyPersistentForm` [3] if a different type is desired. | |
[prop-missing] | |
account/account-hooks.js:236:37 | |
236| cryptoKeyPersistentForm = await exportKeyToJWK(encryptionKey); | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
References: | |
crypto/aes-gcm-crypto-utils.js:18:13 | |
18| }): Promise<CryptoKey> { | |
^^^^^^^^^ [1] | |
crypto/aes-gcm-crypto-utils.js:70:12 | |
70| ): Promise<SubtleCrypto$JsonWebKey> { | |
^^^^^^^^^^^^^^^^^^^^^^^ [2] | |
account/account-hooks.js:232:13 | |
232| let cryptoKeyPersistentForm = encryptionKey; | |
^^^^^^^^^^^^^^^^^^^^^^^ [3] | |
Error --------------------------------------------------------------------------- push-notif/notif-crypto-utils.js:61:33 | |
Cannot call `importJWKKey` with `persistedCryptoKey` bound to `jwkKey` because property `algorithm` is missing in | |
`SubtleCrypto$JsonWebKey` [1] but exists in object type [2]. [prop-missing] | |
push-notif/notif-crypto-utils.js:61:33 | |
61| return await importJWKKey(persistedCryptoKey); | |
^^^^^^^^^^^^^^^^^^ | |
References: | |
crypto/aes-gcm-crypto-utils.js:75:11 | |
75| jwkKey: SubtleCrypto$JsonWebKey, | |
^^^^^^^^^^^^^^^^^^^^^^^ [1] | |
push-notif/notif-crypto-utils.js:55:58 | |
55| const persistedCryptoKey = await localforage.getItem<CryptoKey>( | |
^^^^^^^^^ [2] | |
Error --------------------------------------------------------------------------- push-notif/notif-crypto-utils.js:61:33 | |
Cannot call `importJWKKey` with `persistedCryptoKey` bound to `jwkKey` because property `extractable` is missing in | |
`SubtleCrypto$JsonWebKey` [1] but exists in object type [2]. [prop-missing] | |
push-notif/notif-crypto-utils.js:61:33 | |
61| return await importJWKKey(persistedCryptoKey); | |
^^^^^^^^^^^^^^^^^^ | |
References: | |
crypto/aes-gcm-crypto-utils.js:75:11 | |
75| jwkKey: SubtleCrypto$JsonWebKey, | |
^^^^^^^^^^^^^^^^^^^^^^^ [1] | |
push-notif/notif-crypto-utils.js:55:58 | |
55| const persistedCryptoKey = await localforage.getItem<CryptoKey>( | |
^^^^^^^^^ [2] | |
Error --------------------------------------------------------------------------- push-notif/notif-crypto-utils.js:61:33 | |
Cannot call `importJWKKey` with `persistedCryptoKey` bound to `jwkKey` because property `type` is missing in | |
`SubtleCrypto$JsonWebKey` [1] but exists in object type [2]. [prop-missing] | |
push-notif/notif-crypto-utils.js:61:33 | |
61| return await importJWKKey(persistedCryptoKey); | |
^^^^^^^^^^^^^^^^^^ | |
References: | |
crypto/aes-gcm-crypto-utils.js:75:11 | |
75| jwkKey: SubtleCrypto$JsonWebKey, | |
^^^^^^^^^^^^^^^^^^^^^^^ [1] | |
push-notif/notif-crypto-utils.js:55:58 | |
55| const persistedCryptoKey = await localforage.getItem<CryptoKey>( | |
^^^^^^^^^ [2] | |
Error --------------------------------------------------------------------------- push-notif/notif-crypto-utils.js:61:33 | |
Cannot call `importJWKKey` with `persistedCryptoKey` bound to `jwkKey` because property `usages` is missing in | |
`SubtleCrypto$JsonWebKey` [1] but exists in object type [2]. [prop-missing] | |
push-notif/notif-crypto-utils.js:61:33 | |
61| return await importJWKKey(persistedCryptoKey); | |
^^^^^^^^^^^^^^^^^^ | |
References: | |
crypto/aes-gcm-crypto-utils.js:75:11 | |
75| jwkKey: SubtleCrypto$JsonWebKey, | |
^^^^^^^^^^^^^^^^^^^^^^^ [1] | |
push-notif/notif-crypto-utils.js:55:58 | |
55| const persistedCryptoKey = await localforage.getItem<CryptoKey>( | |
^^^^^^^^^ [2] | |
Found 26 errors |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment