From afa3b37ad5333b280abb07feef75283f07b7fd06 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 12 Sep 2022 11:25:39 +0100 Subject: [PATCH] Revert "Add login flow types from matrix-react-sdk (#2633)" (#2661) * Revert "Add login flow types from matrix-react-sdk (#2633)" This reverts commit 583e4808 * Leave login flow types, only revert method return type Co-authored-by: Hugh Nimmo-Smith --- src/client.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client.ts b/src/client.ts index 27f698b88..dabb1a959 100644 --- a/src/client.ts +++ b/src/client.ts @@ -188,7 +188,7 @@ import { IPusher, IPusherRequest, IPushRules, PushRuleAction, PushRuleKind, Rule import { IThreepid } from "./@types/threepids"; import { CryptoStore } from "./crypto/store/base"; import { MediaHandler } from "./webrtc/mediaHandler"; -import { ILoginFlowsResponse, IRefreshTokenResponse, SSOAction } from "./@types/auth"; +import { IRefreshTokenResponse, SSOAction } from "./@types/auth"; import { TypedEventEmitter } from "./models/typed-event-emitter"; import { ReceiptType } from "./@types/read_receipts"; import { MSC3575SlidingSyncRequest, MSC3575SlidingSyncResponse, SlidingSync } from "./sliding-sync"; @@ -7080,10 +7080,10 @@ export class MatrixClient extends TypedEventEmitter} Resolves to the available login flows + * @return {Promise} Resolves: TODO * @return {module:http-api.MatrixError} Rejects: with an error response. */ - public loginFlows(callback?: Callback): Promise { + public loginFlows(callback?: Callback): Promise { // TODO: Types return this.http.request(callback, Method.Get, "/login"); }