1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-05 00:42:10 +03:00

Correct interactive-auth types (#3328)

This commit is contained in:
Michael Telatynski
2023-04-28 08:52:47 +01:00
committed by GitHub
parent 54bb4c8011
commit 47ba8cfa24

View File

@@ -151,7 +151,7 @@ interface IOpts {
* The busyChanged callback should be used instead of the background flag.
* Should return a promise which resolves to the successful response or rejects with a MatrixError.
*/
doRequest(auth: IAuthData | null, background: boolean): Promise<IAuthData>;
doRequest(auth: IAuthDict | null, background: boolean): Promise<IAuthData>;
/**
* Called when the status of the UI auth changes,
* ie. when the state of an auth stage changes of when the auth flow moves to a new stage.