Apply strictNullChecks to src/utils/pillify.tsx (#10456)
* apply strictNullChecks to src/utils/pillify.tsx * include change to utility * apply strictNullChecks to src/utils/permalinks
This commit is contained in:
@@ -84,9 +84,9 @@ const ANY_REGEX = /.*/;
|
||||
export class RoomPermalinkCreator {
|
||||
private roomId: string;
|
||||
private highestPlUserId: string | null = null;
|
||||
private populationMap: { [serverName: string]: number } | null = null;
|
||||
private bannedHostsRegexps: RegExp[] | null = null;
|
||||
private allowedHostsRegexps: RegExp[] | null = null;
|
||||
private populationMap: { [serverName: string]: number } = {};
|
||||
private bannedHostsRegexps: RegExp[] = [];
|
||||
private allowedHostsRegexps: RegExp[] = [];
|
||||
private _serverCandidates?: string[];
|
||||
private started = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user