Skip to content

Commit

Permalink
Loosen the event listener type
Browse files Browse the repository at this point in the history
This gets us ready for upcoming changes in the Closure Compiler and
its built-in externs.

Change-Id: I1c22a8ea5b99ef39e3cd5b5ed42ef4373ea3007c
  • Loading branch information
joeyparrish committed Nov 12, 2018
1 parent 3bba6f3 commit 1831ce9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/fake_event_target.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ shaka.util.FakeEventTarget = function() {

/**
* These are the listener types defined in the closure extern for EventTarget.
* @typedef {EventListener|function(!Event):(boolean|undefined)}
* @typedef {EventListener|function(!Event):*}
* @exportInterface
*/
shaka.util.FakeEventTarget.ListenerType;
Expand Down

0 comments on commit 1831ce9

Please sign in to comment.