You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-12-14 23:26:58 +02:00
Chore: Apply eslint no-unused-vars eslint config and add TypeScript config
This commit is contained in:
@@ -22,7 +22,7 @@ class AlarmServiceDriver {
|
||||
return true;
|
||||
}
|
||||
|
||||
notificationIsSet(alarmId) {
|
||||
notificationIsSet() {
|
||||
throw new Error('Available only for non-persistent alarms');
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ class AlarmServiceDriver {
|
||||
|
||||
if (this.hasPermission_ !== null) return this.hasPermission_;
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
return new Promise((resolve) => {
|
||||
PushNotificationIOS.checkPermissions(async perm => {
|
||||
const ok = await this.hasPermissions(perm);
|
||||
this.hasPermission_ = ok;
|
||||
|
||||
Reference in New Issue
Block a user