From 57d24dcf90ca9a3a4550e20ad70422bded10ffc7 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Tue, 23 Nov 2021 19:12:07 +0530 Subject: [PATCH] Treat wrapper hsapi as HomeServerApi --- src/matrix/net/RequestScheduler.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/matrix/net/RequestScheduler.ts b/src/matrix/net/RequestScheduler.ts index b47845c4..2b9fe855 100644 --- a/src/matrix/net/RequestScheduler.ts +++ b/src/matrix/net/RequestScheduler.ts @@ -81,8 +81,8 @@ export class RequestScheduler { this._clock = clock; } - get hsApi(): HomeServerApiWrapper { - return this._wrapper; + get hsApi(): HomeServerApi { + return this._wrapper as unknown as HomeServerApi; } stop(): void {