Convert AccountSettingsHandler to TS

This commit is contained in:
Travis Ralston 2020-07-28 16:31:13 -06:00
parent e3364ba7a4
commit 7de727915d
2 changed files with 35 additions and 36 deletions

View file

@ -52,7 +52,7 @@ export class WatchManager {
}
}
public notifyUpdate(settingName: string, inRoomId: string, atLevel: SettingLevel, newValueAtLevel: any) {
public notifyUpdate(settingName: string, inRoomId: string | null, atLevel: SettingLevel, newValueAtLevel: any) {
// Dev note: We could avoid raising changes for ultimately inconsequential changes, but
// we also don't have a reliable way to get the old value of a setting. Instead, we'll just
// let it fall through regardless and let the receiver dedupe if they want to.