Conform more of the codebase to strictNullChecks (#10518

* Conform more of the codebase to `strictNullChecks`

* Iterate

* Fix tests
This commit is contained in:
Michael Telatynski 2023-04-06 11:10:14 +01:00 committed by GitHub
parent e9cc88b872
commit 55d3548330
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 107 additions and 99 deletions

View file

@ -42,7 +42,7 @@ describe("NotificatinSettingsTab", () => {
const room = mkStubRoom(roomId, "test room", cli);
roomProps = EchoChamber.forRoom(room);
NotificationSettingsTab.contextType = React.createContext<MatrixClient | undefined>(cli);
NotificationSettingsTab.contextType = React.createContext<MatrixClient>(cli);
});
it("should prevent »Settings« link click from bubbling up to radio buttons", async () => {