Skip to content

Commit 413838b

Browse files
authored
Merge pull request #906 from Joecha95/master
Improve type of baseListener
2 parents 9b5b14d + a2ac399 commit 413838b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react-canvas-core/src/core/BaseObserver.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export type BaseListener = {
2222
* Generic event that fires after a specific event was fired (even if it was consumed)
2323
*/
2424
eventDidFire?: (event: BaseEvent & { function: string }) => void;
25+
} & {
2526
/**
2627
* Type for other events that will fire
2728
*/

0 commit comments

Comments
 (0)