From 3c3db957f14d76fbb83b8f6cfa45416c301651ec Mon Sep 17 00:00:00 2001 From: jleeson Date: Tue, 12 Nov 2024 13:44:28 -0800 Subject: [PATCH] made payload argument optional in EventEmitter.emit --- packages/firefly/types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/firefly/types/index.d.ts b/packages/firefly/types/index.d.ts index ebe2b2d..ed4f1c9 100644 --- a/packages/firefly/types/index.d.ts +++ b/packages/firefly/types/index.d.ts @@ -23,7 +23,7 @@ declare module "@outwalk/firefly" { private static events: Record; - static emit(event: string, payload: any): void; + static emit(event: string, payload?: any): void; static on(event: string, callback: Function): void; }