Conform more of the codebase to strictNullChecks (#10518
* Conform more of the codebase to `strictNullChecks` * Iterate * Fix tests
This commit is contained in:
+1
-1
@@ -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,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user