From a89e17a3904cce8b7c9a70519e275fe9364526ae Mon Sep 17 00:00:00 2001 From: Vendicated Date: Sun, 9 Oct 2022 22:58:08 +0200 Subject: Make typescript happy, tsc test run in CI --- src/api/MessageEvents.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/MessageEvents.ts') 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(); -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); -- cgit