diff --git a/ts/preload.ts b/ts/preload.ts index a32b3c7..acc51a0 100644 --- a/ts/preload.ts +++ b/ts/preload.ts @@ -974,5 +974,17 @@ declare global { greeter_config: GreeterConfig | undefined; theme_utils: ThemeUtils | undefined; _ready_event: Event | undefined; + + addEventListener( + type: "NodyBroadcastEvent", + listener: (ev: NodyBroadcastEvent) => void, + options?: boolean | AddEventListenerOptions | undefined + ): void; + + addEventListener( + type: "GreeterReady", + listener: (ev: Event) => void, + options?: boolean | AddEventListenerOptions | undefined + ): void; } }