Type annotation corrections

This commit is contained in:
Tim Schaub
2018-05-07 22:16:08 -06:00
parent 5a9fad218b
commit 5707cdf3b6
4 changed files with 9 additions and 9 deletions

View File

@@ -116,7 +116,7 @@ inherits(TileDebug, TileSource);
TileDebug.prototype.getTile = function(z, x, y) {
const tileCoordKey = getKeyZXY(z, x, y);
if (this.tileCache.containsKey(tileCoordKey)) {
return /** @type {!module:ol/source/LabeledTile} */ (this.tileCache.get(tileCoordKey));
return /** @type {!module:ol/source/TileDebug~LabeledTile} */ (this.tileCache.get(tileCoordKey));
} else {
const tileSize = toSize(this.tileGrid.getTileSize(z));
const tileCoord = [z, x, y];