Merge pull request #8774 from schmidtk/ts-renderer-webgl

Fix type check errors in ol/renderer/webgl
This commit is contained in:
Tim Schaub
2018-10-03 03:48:07 -06:00
committed by GitHub
3 changed files with 13 additions and 12 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ class WebGLImageLayerRenderer extends WebGLLayerRenderer {
let image = this.image_;
let texture = this.texture;
const imageLayer = /** @type {import("../../layer/Image.js").default} */ (this.getLayer());
const imageSource = imageLayer.getSource();
const imageSource = /** @type {import("../../source/Image.js").default} */ (imageLayer.getSource());
const hints = frameState.viewHints;