mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-17 11:47:02 +02:00
improve types
This commit is contained in:
parent
764b94c7ae
commit
fca48c0426
@ -209,7 +209,7 @@ export const Notifier = {
|
||||
return plaf && plaf.supportsNotifications();
|
||||
},
|
||||
|
||||
setEnabled: function(enable: boolean, callback: () => void) {
|
||||
setEnabled: function(enable: boolean, callback?: () => void) {
|
||||
const plaf = PlatformPeg.get();
|
||||
if (!plaf) return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user