mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-10 15:13:02 -04:00
Make typescript happy, tsc test run in CI
This commit is contained in:
parent
5610df8b37
commit
a89e17a390
11 changed files with 45 additions and 36 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue