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
+1 -1
View File
@@ -214,7 +214,7 @@ class WebGLTileLayerRenderer extends WebGLLayerRenderer {
gl.uniform1i(this.locations_.u_texture, 0);
/**
* @type {Object.<number, Object.<string, module:ol/Tile>>}
* @type {Object<number, Object<string, module:ol/Tile>>}
*/
const tilesToDrawByZ = {};
tilesToDrawByZ[z] = {};
+1 -1
View File
@@ -117,7 +117,7 @@ class WebGLVectorLayerRenderer extends WebGLLayerRenderer {
const viewState = frameState.viewState;
const layer = this.getLayer();
const layerState = this.layerState_;
/** @type {!Object.<string, boolean>} */
/** @type {!Object<string, boolean>} */
const features = {};
return this.replayGroup_.forEachFeatureAtCoordinate(coordinate,
context, viewState.center, viewState.resolution, viewState.rotation,