From d66c8f1765581538801e9b835bb88c44152bc5f3 Mon Sep 17 00:00:00 2001 From: Seth Falco Date: Sun, 9 Oct 2022 15:38:34 +0100 Subject: [PATCH] docs: fix typos in jsdocs Signed-off-by: Seth Falco --- src/MatrixClient.ts | 4 ++-- src/UnstableApis.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/MatrixClient.ts b/src/MatrixClient.ts index 70c577ba..0c725f27 100644 --- a/src/MatrixClient.ts +++ b/src/MatrixClient.ts @@ -1958,8 +1958,8 @@ export class MatrixClient extends EventEmitter { /** * Get relations for a given event. * @param {string} roomId The room ID to for the given event. - * @param {string} eventId The event ID to list reacations for. - * @param {string?} relationType The type of reaction (e.g. `m.room.member`) to filter for. Optional. + * @param {string} eventId The event ID to list relations for. + * @param {string?} relationType The type of relations (e.g. `m.room.member`) to filter for. Optional. * @param {string?} eventType The type of event to look for (e.g. `m.room.member`). Optional. * @returns {Promise<{chunk: any[]}>} Resolves to an object containing the chunk of relations */ diff --git a/src/UnstableApis.ts b/src/UnstableApis.ts index 9f850ec9..6c5cc58f 100644 --- a/src/UnstableApis.ts +++ b/src/UnstableApis.ts @@ -40,8 +40,8 @@ export class UnstableApis { /** * Get relations for a given event. * @param {string} roomId The room ID to for the given event. - * @param {string} eventId The event ID to list reacations for. - * @param {string?} relationType The type of reaction (e.g. `m.room.member`) to filter for. Optional. + * @param {string} eventId The event ID to list relations for. + * @param {string?} relationType The type of relations (e.g. `m.room.member`) to filter for. Optional. * @param {string?} eventType The type of event to look for (e.g. `m.room.member`). Optional. * @returns {Promise<{chunk: any[]}>} Resolves to an object containing the chunk of relations * @deprecated Please use the function of the same name in MatrixClient. This will be removed in a future release.