Skip to content

Commit e35ede0

Browse files
authored
The request callback provided by bootstrapCrossSigning is async (#2431)
1 parent 518e16e commit e35ede0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crypto/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ interface IInitOpts {
121121

122122
export interface IBootstrapCrossSigningOpts {
123123
setupNewCrossSigning?: boolean;
124-
authUploadDeviceSigningKeys?(makeRequest: (authData: any) => {}): Promise<void>;
124+
authUploadDeviceSigningKeys?(makeRequest: (authData: any) => Promise<{}>): Promise<void>;
125125
}
126126

127127
/* eslint-disable camelcase */

0 commit comments

Comments
 (0)