Merge pull request #8662 from wallw-bits/fix-typecheck-ol-tile

Explicitly define type of 'this'
This commit is contained in:
Tim Schaub
2018-09-19 06:50:59 -06:00
committed by GitHub

View File

@@ -180,7 +180,7 @@ class Tile extends EventTarget {
}
let tile = this.interimTile;
let prev = this;
let prev = /** @type {Tile} */ (this);
do {
if (tile.getState() == TileState.LOADED) {