Use Object<Foo, Bar> instead of Object.<Foo, Bar>

This commit is contained in:
Tim Schaub
2018-07-25 18:33:49 -07:00
parent d12ef20b12
commit affbf59b77
92 changed files with 334 additions and 334 deletions
+2 -2
View File
@@ -203,7 +203,7 @@ class Modify extends PointerInteraction {
/**
* Segments intersecting {@link this.vertexFeature_} by segment uid.
* @type {Object.<string, boolean>}
* @type {Object<string, boolean>}
* @private
*/
this.vertexSegments_ = null;
@@ -281,7 +281,7 @@ class Modify extends PointerInteraction {
/**
* @const
* @private
* @type {!Object.<string, function(module:ol/Feature, module:ol/geom/Geometry)>}
* @type {!Object<string, function(module:ol/Feature, module:ol/geom/Geometry)>}
*/
this.SEGMENT_WRITERS_ = {
'Point': this.writePointGeometry_,
+1 -1
View File
@@ -130,7 +130,7 @@ class PointerInteraction extends Interaction {
this.stopDown = options.stopDown ? options.stopDown : stopDown;
/**
* @type {!Object.<string, module:ol/pointer/PointerEvent>}
* @type {!Object<string, module:ol/pointer/PointerEvent>}
* @private
*/
this.trackedPointers_ = {};
+1 -1
View File
@@ -251,7 +251,7 @@ class Select extends Interaction {
* An association between selected feature (key)
* and layer (value)
* @private
* @type {Object.<number, module:ol/layer/Layer>}
* @type {Object<number, module:ol/layer/Layer>}
*/
this.featureLayerAssociation_ = {};
+4 -4
View File
@@ -111,7 +111,7 @@ class Snap extends PointerInteraction {
this.featuresListenerKeys_ = [];
/**
* @type {Object.<number, module:ol/events~EventsKey>}
* @type {Object<number, module:ol/events~EventsKey>}
* @private
*/
this.featureChangeListenerKeys_ = {};
@@ -119,7 +119,7 @@ class Snap extends PointerInteraction {
/**
* Extents are preserved so indexed segment can be quickly removed
* when its feature geometry changes
* @type {Object.<number, module:ol/extent~Extent>}
* @type {Object<number, module:ol/extent~Extent>}
* @private
*/
this.indexedFeaturesExtents_ = {};
@@ -128,7 +128,7 @@ class Snap extends PointerInteraction {
* If a feature geometry changes while a pointer drag|move event occurs, the
* feature doesn't get updated right away. It will be at the next 'pointerup'
* event fired.
* @type {!Object.<number, module:ol/Feature>}
* @type {!Object<number, module:ol/Feature>}
* @private
*/
this.pendingFeatures_ = {};
@@ -165,7 +165,7 @@ class Snap extends PointerInteraction {
/**
* @const
* @private
* @type {Object.<string, function(module:ol/Feature, module:ol/geom/Geometry)>}
* @type {Object<string, function(module:ol/Feature, module:ol/geom/Geometry)>}
*/
this.SEGMENT_WRITERS_ = {
'Point': this.writePointGeometry_,