Merge pull request #906 from Joecha95/master

Improve type of baseListener
This commit is contained in:
Dylan Vorster
2022-02-06 22:23:24 -07:00
committed by GitHub

View File

@@ -22,6 +22,7 @@ export type BaseListener = {
* Generic event that fires after a specific event was fired (even if it was consumed)
*/
eventDidFire?: (event: BaseEvent & { function: string }) => void;
} & {
/**
* Type for other events that will fire
*/