You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
Fix various type definitions
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user