Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
fjc0k committed Oct 15, 2018
1 parent c53f194 commit b543fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bindEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function bindEvent(
target: EventTarget,
types: string | string[],
listener: EventListenerOrEventListenerObject,
options?: AddEventListenerOptions
options?: boolean | AddEventListenerOptions
): UnbindFn {
const disposes: Array<() => void> = [];
(Array.isArray(types) ? types : types.split(/\s+/)).forEach(eventType => {
Expand Down

0 comments on commit b543fc3

Please sign in to comment.