darwin-notifications: Avoid no-useless-return warnings.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-06-26 16:04:21 -07:00
parent 1c60c335fd
commit b6e11f623a

View File

@@ -47,7 +47,7 @@ class DarwinNotification {
}
static requestPermission(): void {
return; // eslint-disable-line no-useless-return
// Do nothing
}
// Override default Notification permission
@@ -104,7 +104,7 @@ class DarwinNotification {
// Method specific to notification api
// used by zulip
close(): void {
return; // eslint-disable-line no-useless-return
// Do nothing
}
}