Followup type-check fixes for bootstrapCrossSigning callback (#8753)
This commit is contained in:
@@ -274,7 +274,7 @@ export default class CreateSecretStorageDialog extends React.PureComponent<IProp
|
||||
});
|
||||
};
|
||||
|
||||
private doBootstrapUIAuth = async (makeRequest: (authData: any) => Promise<void>): Promise<void> => {
|
||||
private doBootstrapUIAuth = async (makeRequest: (authData: any) => Promise<{}>): Promise<void> => {
|
||||
if (this.state.canUploadKeysWithPasswordOnly && this.state.accountPassword) {
|
||||
await makeRequest({
|
||||
type: 'm.login.password',
|
||||
|
||||
@@ -91,7 +91,7 @@ export default class CreateCrossSigningDialog extends React.PureComponent<IProps
|
||||
}
|
||||
}
|
||||
|
||||
private doBootstrapUIAuth = async (makeRequest: (authData: any) => Promise<void>): Promise<void> => {
|
||||
private doBootstrapUIAuth = async (makeRequest: (authData: any) => Promise<{}>): Promise<void> => {
|
||||
if (this.state.canUploadKeysWithPasswordOnly && this.state.accountPassword) {
|
||||
await makeRequest({
|
||||
type: 'm.login.password',
|
||||
|
||||
Reference in New Issue
Block a user