mirror of
				https://github.com/zulip/zulip-desktop.git
				synced 2025-10-31 03:53:34 +00:00 
			
		
		
		
	darwin-notifications: Avoid no-useless-return warnings.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		| @@ -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 | ||||
| 	} | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user