Don't use typedef for type that is only used once
This commit is contained in:
+1
-7
@@ -13,12 +13,6 @@ goog.require('goog.events.EventTarget');
|
|||||||
goog.require('goog.object');
|
goog.require('goog.object');
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @typedef {{target: ol.Object, key: string}}
|
|
||||||
*/
|
|
||||||
ol.ObjectAccessor;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @enum {string}
|
* @enum {string}
|
||||||
*/
|
*/
|
||||||
@@ -137,7 +131,7 @@ ol.Object.getSetterName = function(key) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {ol.Object} obj Object.
|
* @param {ol.Object} obj Object.
|
||||||
* @return {Object.<string, ol.ObjectAccessor>} Accessors.
|
* @return {Object.<string, {target: ol.Object, key: string}>} Accessors.
|
||||||
*/
|
*/
|
||||||
ol.Object.getAccessors = function(obj) {
|
ol.Object.getAccessors = function(obj) {
|
||||||
return obj[ol.ObjectProperty.ACCESSORS] ||
|
return obj[ol.ObjectProperty.ACCESSORS] ||
|
||||||
|
|||||||
Reference in New Issue
Block a user