Remove unnecessary type cast

`npx tsc` output is the same before and after the changes.
This commit is contained in:
Frederic Junod
2019-02-05 11:31:59 +01:00
parent 2c3ffdfdf8
commit 427c73ddf9
3 changed files with 5 additions and 8 deletions

View File

@@ -196,7 +196,7 @@ class CanvasVectorLayerRenderer extends CanvasLayerRenderer {
} else {
const resolution = frameState.viewState.resolution;
const rotation = frameState.viewState.rotation;
const layer = /** @type {import("../../layer/Vector.js").default} */ (this.getLayer());
const layer = this.getLayer();
/** @type {!Object<string, boolean>} */
const features = {};
const result = this.replayGroup_.forEachFeatureAtCoordinate(coordinate, resolution, rotation, hitTolerance, {},