diff --git a/src/settings/WatchManager.ts b/src/settings/WatchManager.ts index 925a99f2dc..ea2f158ef6 100644 --- a/src/settings/WatchManager.ts +++ b/src/settings/WatchManager.ts @@ -18,7 +18,7 @@ import { SettingLevel } from "./SettingLevel"; export type CallbackFn = (changedInRoomId: string, atLevel: SettingLevel, newValAtLevel: any) => void; -const IRRELEVANT_ROOM = String(null); +const IRRELEVANT_ROOM: string = null; interface RoomWatcherMap { [roomId: string]: CallbackFn[];