Conform more of the codebase to strictNullChecks (#11100)

This commit is contained in:
Michael Telatynski
2023-06-22 14:39:36 +01:00
committed by GitHub
parent 328db8fdfd
commit 7b3a4e556a
16 changed files with 30 additions and 26 deletions

View File

@@ -66,7 +66,7 @@ describe("DeviceSettingsHandler", () => {
afterEach(() => {
MatrixClientPeg.get = () => null;
MatrixClientPeg.safeGet = () => null;
MatrixClientPeg.safeGet = () => new MatrixClient({ baseUrl: "foobar" });
});
it("Returns the value for a disabled feature", () => {