Skip to content

Commit afa3b37

Browse files
t3chguyhughns
andauthored
Revert "Add login flow types from matrix-react-sdk (#2633)" (#2661)
* Revert "Add login flow types from matrix-react-sdk (#2633)" This reverts commit 583e480 * Leave login flow types, only revert method return type Co-authored-by: Hugh Nimmo-Smith <hughns@matrix.org>
1 parent a57c430 commit afa3b37

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/client.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ import { IPusher, IPusherRequest, IPushRules, PushRuleAction, PushRuleKind, Rule
188188
import { IThreepid } from "./@types/threepids";
189189
import { CryptoStore } from "./crypto/store/base";
190190
import { MediaHandler } from "./webrtc/mediaHandler";
191-
import { ILoginFlowsResponse, IRefreshTokenResponse, SSOAction } from "./@types/auth";
191+
import { IRefreshTokenResponse, SSOAction } from "./@types/auth";
192192
import { TypedEventEmitter } from "./models/typed-event-emitter";
193193
import { ReceiptType } from "./@types/read_receipts";
194194
import { MSC3575SlidingSyncRequest, MSC3575SlidingSyncResponse, SlidingSync } from "./sliding-sync";
@@ -7080,10 +7080,10 @@ export class MatrixClient extends TypedEventEmitter<EmittedEvents, ClientEventHa
70807080

70817081
/**
70827082
* @param {module:client.callback} callback Optional.
7083-
* @return {Promise<ILoginFlowsResponse>} Resolves to the available login flows
7083+
* @return {Promise} Resolves: TODO
70847084
* @return {module:http-api.MatrixError} Rejects: with an error response.
70857085
*/
7086-
public loginFlows(callback?: Callback): Promise<ILoginFlowsResponse> {
7086+
public loginFlows(callback?: Callback): Promise<any> { // TODO: Types
70877087
return this.http.request(callback, Method.Get, "/login");
70887088
}
70897089

0 commit comments

Comments
 (0)