feat: events (#717)

This commit is contained in:
Daniel Lautzenheiser
2023-04-19 23:49:53 -04:00
committed by GitHub
parent 455bcdc0f2
commit 79877fcd1f
30 changed files with 72 additions and 56 deletions

View File

@ -821,7 +821,7 @@ export interface EventData {
export type EventListenerOptions = Record<string, unknown>;
export type EventListenerHandler = (
data: EventData,
data: EventData | undefined,
options: EventListenerOptions,
) => Promise<EntryData | undefined | null | void>;