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

Improve quality of Typescript types (#10742)

This commit is contained in:
Michael Telatynski
2023-05-05 09:11:14 +01:00
committed by GitHub
parent 542bf68c63
commit a4f0b80692
30 changed files with 74 additions and 75 deletions

View File

@ -76,8 +76,7 @@ describe("<ForgotPassword>", () => {
client = stubClient();
mocked(createClient).mockReturnValue(client);
serverConfig = new ValidatedServerConfig();
serverConfig.hsName = "example.com";
serverConfig = { hsName: "example.com" } as ValidatedServerConfig;
onComplete = jest.fn();
onLoginClick = jest.fn();