Module type for ol.Tile

This commit is contained in:
Frederic Junod
2018-03-19 11:54:05 +01:00
parent fe686ef915
commit 93b2fe0e95
12 changed files with 29 additions and 31 deletions

View File

@@ -116,7 +116,7 @@ UrlTile.prototype.getUrls = function() {
* @protected
*/
UrlTile.prototype.handleTileChange = function(event) {
const tile = /** @type {ol.Tile} */ (event.target);
const tile = /** @type {module:ol/Tile~Tile} */ (event.target);
const uid = getUid(tile);
const tileState = tile.getState();
let type;