Apply strictNullChecks around the codebase (#10302

* Apply `strictNullChecks` around the codebase

* Iterate PR
This commit is contained in:
Michael Telatynski
2023-03-07 13:19:18 +00:00
committed by GitHub
parent 7c2bb966d0
commit 4b8bada24b
26 changed files with 112 additions and 77 deletions
+1
View File
@@ -452,6 +452,7 @@ export async function ensureDMExists(client: MatrixClient, userId: string): Prom
}
roomId = await createRoom({ encryption, dmUserId: userId, spinner: false, andView: false });
if (!roomId) return null;
await waitForMember(client, roomId, userId);
}
return roomId;