Fix various type definitions

This commit is contained in:
Travis Ralston 2020-07-30 08:49:42 -06:00
parent 4cf6b7174b
commit 648c3c7796
6 changed files with 9 additions and 6 deletions

View file

@ -61,7 +61,7 @@ export class NotificationsEnabledController extends SettingController {
return calculatedValue;
}
public onChange(level: SettingLevel, roomId: string, newValue) {
public onChange(level: SettingLevel, roomId: string, newValue: any) {
if (getNotifier().supportsDesktopNotifications()) {
getNotifier().setEnabled(newValue);
}