mirror of
				https://github.com/zulip/zulip-desktop.git
				synced 2025-10-31 12:03:39 +00:00 
			
		
		
		
	xo: Fix @typescript-eslint/consistent-type-definitions.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		| @@ -8,7 +8,7 @@ import {ipcRenderer} from "./typed-ipc-renderer"; | ||||
|  | ||||
| type ListenerType = (...args: any[]) => void; | ||||
|  | ||||
| export interface ElectronBridge { | ||||
| export type ElectronBridge = { | ||||
|   send_event: (eventName: string | symbol, ...args: unknown[]) => boolean; | ||||
|   on_event: (eventName: string, listener: ListenerType) => void; | ||||
|   new_notification: ( | ||||
| @@ -21,7 +21,7 @@ export interface ElectronBridge { | ||||
|   get_send_notification_reply_message_supported: () => boolean; | ||||
|   set_send_notification_reply_message_supported: (value: boolean) => void; | ||||
|   decrypt_clipboard: (version: number) => ClipboardDecrypter; | ||||
| } | ||||
| }; | ||||
|  | ||||
| let notificationReplySupported = false; | ||||
| // Indicates if the user is idle or not | ||||
|   | ||||
		Reference in New Issue
	
	Block a user