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
23 changed files with 107 additions and 99 deletions
+1 -1
View File
@@ -320,7 +320,7 @@ export default async function createRoom(opts: IOpts): Promise<string | null> {
return SpaceStore.instance.addRoomToSpace(
opts.parentSpace,
roomId,
[client.getDomain()],
[client.getDomain()!],
opts.suggested,
);
}