Fix TypeScript error in Target

This commit is contained in:
Kevin Schmidt
2018-09-19 14:22:20 -06:00
parent 0ac94c93ff
commit 34323c0618
+2 -1
View File
@@ -72,7 +72,8 @@ class Target extends Disposable {
* Object with a `type` property. * Object with a `type` property.
* *
* @param {{type: string, * @param {{type: string,
* target: (EventTargetLike|undefined)}| * target: (EventTargetLike|undefined),
* propagationStopped: (boolean|undefined)}|
* import("./Event.js").default|string} event Event object. * import("./Event.js").default|string} event Event object.
* @return {boolean|undefined} `false` if anyone called preventDefault on the * @return {boolean|undefined} `false` if anyone called preventDefault on the
* event object or if any of the listeners returned false. * event object or if any of the listeners returned false.