Skip to content

Commit 8b34f20

Browse files
committed
never null handler
1 parent e9c5882 commit 8b34f20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app-builder-lib/src/util/asyncEventEmitter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ type Handler = (...args: any[]) => Promise<void> | void
55

66
export type HandlerType = "system" | "user"
77

8-
type Handle = { handler: Handler | Nullish; type: HandlerType }
8+
type Handle = { handler: Handler; type: HandlerType }
99

1010
export type EventMap = {
1111
[key: string]: Handler

0 commit comments

Comments
 (0)