1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-09 10:22:46 +03:00

Improve types for sendEvent (#4108)

This commit is contained in:
Michael Telatynski
2024-03-25 12:48:49 +00:00
committed by GitHub
parent 85a55c79cd
commit 97844f0e47
17 changed files with 278 additions and 71 deletions

View File

@@ -152,7 +152,7 @@ describe("MatrixClient syncing", () => {
await client!.sendEvent(roomId, EventType.Reaction, {
"m.relates_to": {
rel_type: RelationType.Annotation,
event_id: threadReply.getId(),
event_id: threadReply.getId()!,
key: "",
},
});