Use string instead of string|ol.events.EventType

This commit is contained in:
Tim Schaub
2016-02-02 13:11:08 -07:00
committed by Andreas Hocevar
parent f10c90bdba
commit f3b97d6bef
4 changed files with 17 additions and 19 deletions
+2 -2
View File
@@ -72,9 +72,9 @@ ol.Observable.prototype.changed = function() {
* of this type. The event parameter can either be a string or an
* Object with a `type` property.
*
* @param {{type: (ol.events.EventType|string),
* @param {{type: string,
* target: (EventTarget|ol.events.EventTarget|undefined)}|ol.events.Event|
* ol.events.EventType|string} event Event object.
* string} event Event object.
* @function
* @api
*/