Skip to content

Commit

Permalink
Explicitly return undefined when event is undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
major-mayer authored Oct 4, 2022
1 parent 731c838 commit 8ff3bb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/common/src/internal/dispatch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ export function dispatch<T extends any = any>(
}
return event;
}
return undefined;
}

0 comments on commit 8ff3bb7

Please sign in to comment.