From 4c53836a13decb23915654c19100950e6ccd7b7e Mon Sep 17 00:00:00 2001 From: Andrew Ferrazzutti Date: Mon, 11 Nov 2024 06:19:48 -0500 Subject: [PATCH] Remove redundant type arguments in function call (#4507) as the types can be deduced by the function arguments. --- src/embedded.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/embedded.ts b/src/embedded.ts index be03037f97..bc32398e3b 100644 --- a/src/embedded.ts +++ b/src/embedded.ts @@ -162,7 +162,7 @@ export class RoomWidgetClient extends MatrixClient { data: T, ): Promise => { try { - return await transportSend(action, data); + return await transportSend(action, data); } catch (error) { processAndThrow(error); } @@ -174,7 +174,7 @@ export class RoomWidgetClient extends MatrixClient { data: T, ): Promise => { try { - return await transportSendComplete(action, data); + return await transportSendComplete(action, data); } catch (error) { processAndThrow(error); }