Fix various type definitions
This commit is contained in:
parent
4cf6b7174b
commit
648c3c7796
6 changed files with 9 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue