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 {