Merge pull request #8662 from wallw-bits/fix-typecheck-ol-tile
Explicitly define type of 'this'
This commit is contained in:
@@ -180,7 +180,7 @@ class Tile extends EventTarget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let tile = this.interimTile;
|
let tile = this.interimTile;
|
||||||
let prev = this;
|
let prev = /** @type {Tile} */ (this);
|
||||||
|
|
||||||
do {
|
do {
|
||||||
if (tile.getState() == TileState.LOADED) {
|
if (tile.getState() == TileState.LOADED) {
|
||||||
|
|||||||
Reference in New Issue
Block a user