Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust types and APIs to match React SDK #1502

Merged
merged 3 commits into from
Oct 12, 2020
Merged

Conversation

jryans
Copy link
Collaborator

@jryans jryans commented Oct 9, 2020

Various small tweaks and alignments to match React SDK as part of TypeScript
conversion.

Part of element-hq/element-web#15350
Used by matrix-org/matrix-react-sdk#5307

jryans added 2 commits October 8, 2020 15:11
Various small tweaks and alignments to match React SDK as part of TypeScript
conversion.

Part of element-hq/element-web#15350
Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overall this seems sane, though I do have concerns about the signature changes.

@jryans jryans merged commit d16cf26 into develop Oct 12, 2020
richvdh added a commit to matrix-org/matrix-react-sdk that referenced this pull request Dec 18, 2023
`cacheSecretStorageKey` is passed a `SecretStorageKeyDescription` (aka a
`ISecretStorageKeyInfo`), and has done ever since
matrix-org/matrix-js-sdk#1502.
`AddSecretStorageKeyOpts`is something else, though until recently some of the
properties on `AddSecretStorageKeyOpts` were incorrectly marked as optional, so
this went unnoticed since it was broken by
#11217.
github-merge-queue bot pushed a commit to matrix-org/matrix-react-sdk that referenced this pull request Dec 18, 2023
* Fix incorrect type annotation on `cacheSecretStorageKey`

`cacheSecretStorageKey` is passed a `SecretStorageKeyDescription` (aka a
`ISecretStorageKeyInfo`), and has done ever since
matrix-org/matrix-js-sdk#1502.
`AddSecretStorageKeyOpts`is something else, though until recently some of the
properties on `AddSecretStorageKeyOpts` were incorrectly marked as optional, so
this went unnoticed since it was broken by
#11217.

* playwright has the same problem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants