Conform more of the codebase to strict types (#11162)
This commit is contained in:
parent
9c7d935aae
commit
95283d21bb
9 changed files with 36 additions and 31 deletions
|
@ -144,7 +144,12 @@ export class Mjolnir {
|
|||
this.updateLists(this._roomIds);
|
||||
};
|
||||
|
||||
private onListsChanged(settingName: string, roomId: string, atLevel: SettingLevel, newValue: string[]): void {
|
||||
private onListsChanged(
|
||||
settingName: string,
|
||||
roomId: string | null,
|
||||
atLevel: SettingLevel,
|
||||
newValue: string[],
|
||||
): void {
|
||||
// We know that ban lists are only recorded at one level so we don't need to re-eval them
|
||||
this.updateLists(newValue);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue