Skip to content

Commit faac254

Browse files
committed
Fix flow type in 0.24
1 parent 1d532b7 commit faac254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils/types.es6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ export type Bounds = {
1313
left: number, top: number, right: number, bottom: number
1414
};
1515
export type ControlPosition = {x: number, y: number};
16-
export type EventHandler<T> = (e: T) => void;
16+
export type EventHandler<T> = (e: T) => void | false;

0 commit comments

Comments
 (0)