improve types
This commit is contained in:
parent
764b94c7ae
commit
fca48c0426
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ export const Notifier = {
|
||||||
return plaf && plaf.supportsNotifications();
|
return plaf && plaf.supportsNotifications();
|
||||||
},
|
},
|
||||||
|
|
||||||
setEnabled: function(enable: boolean, callback: () => void) {
|
setEnabled: function(enable: boolean, callback?: () => void) {
|
||||||
const plaf = PlatformPeg.get();
|
const plaf = PlatformPeg.get();
|
||||||
if (!plaf) return;
|
if (!plaf) return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue