diff options
Diffstat (limited to 'src/api/MessageEvents.ts')
-rw-r--r-- | src/api/MessageEvents.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/MessageEvents.ts b/src/api/MessageEvents.ts index 0b3be65..047a015 100644 --- a/src/api/MessageEvents.ts +++ b/src/api/MessageEvents.ts @@ -67,7 +67,7 @@ type ClickListener = (message: Message, channel: Channel, event: MouseEvent) => const listeners = new Set<ClickListener>(); -export function _handleClick(message, channel, event) { +export function _handleClick(message: Message, channel: Channel, event: MouseEvent) { for (const listener of listeners) { try { listener(message, channel, event); |