From 8387215efd53fe396eb729b924d70fd26a664122 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Tue, 23 Nov 2021 18:15:22 +0530 Subject: [PATCH] Add comment --- src/matrix/net/HomeServerRequest.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/matrix/net/HomeServerRequest.ts b/src/matrix/net/HomeServerRequest.ts index aad45f1b..4a9fdf75 100644 --- a/src/matrix/net/HomeServerRequest.ts +++ b/src/matrix/net/HomeServerRequest.ts @@ -23,6 +23,7 @@ export class HomeServerRequest { // todo: Shouldn't log be of type ILogItem; but ILogItem does not have finish method private readonly _log?: LogItem; private _sourceRequest?: RequestResult; + // as we add types for expected responses from hs, this could be a generic class instead private readonly _promise: Promise; constructor(method: string, url: string, sourceRequest: RequestResult, log?: LogItem) {