summaryrefslogtreecommitdiff
path: root/cli/js/globals.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/globals.ts')
-rw-r--r--cli/js/globals.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/js/globals.ts b/cli/js/globals.ts
index fd2082e40..0e3ae8fd8 100644
--- a/cli/js/globals.ts
+++ b/cli/js/globals.ts
@@ -104,7 +104,7 @@ declare global {
/* eslint-disable no-var */
var addEventListener: (
type: string,
- callback: (event: domTypes.Event) => void | null,
+ callback: domTypes.EventListenerOrEventListenerObject | null,
options?: boolean | domTypes.AddEventListenerOptions | undefined
) => void;
var queueMicrotask: (callback: () => void) => void;