1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-31 13:44:28 +03:00

Make more of the codebase conform to strict types (#10857)

This commit is contained in:
Michael Telatynski
2023-05-16 14:25:43 +01:00
committed by GitHub
parent 7f017a84c2
commit 6a3f59cc76
45 changed files with 127 additions and 121 deletions

View File

@ -48,8 +48,8 @@ describe("SetupEncryptionStore", () => {
client.bootstrapCrossSigning.mockImplementation(async (opts: IBootstrapCrossSigningOpts) => {
await opts?.authUploadDeviceSigningKeys?.(makeRequest);
});
mocked(accessSecretStorage).mockImplementation(async (func: () => Promise<void>) => {
await func();
mocked(accessSecretStorage).mockImplementation(async (func?: () => Promise<void>) => {
await func!();
});
await setupEncryptionStore.resetConfirm();