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; }