Skip to content

Commit cf0d488

Browse files
committed
Fix fire return type annotation
Closes #21
1 parent 23bb4ba commit cf0d488

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

delegated-events.js.flow

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ type EventListenerOptions = {
2727
declare module.exports: {
2828
on(name: string, selector: string, handler: EventHandler, options?: EventListenerOptions): void;
2929
off(name: string, selector: string, handler: EventHandler, options?: EventListenerOptions): void;
30-
fire(target: EventTarget, name: string, detail?: any): void;
30+
fire(target: EventTarget, name: string, detail?: any): boolean;
3131
};

0 commit comments

Comments
 (0)