diff --git a/src/ol/layer/Graticule.js b/src/ol/layer/Graticule.js index 8d5b6d8e52..7247d8fe3b 100644 --- a/src/ol/layer/Graticule.js +++ b/src/ol/layer/Graticule.js @@ -437,7 +437,7 @@ class Graticule extends VectorLayer { * @param {import("../proj/Projection.js").default} projection Projection */ loaderFunction(extent, resolution, projection) { - const source = /** @type import("../source/Vector").default} */ (this.getSource()); + const source = /** @type {import("../source/Vector.js").default} */ (this.getSource()); // only consider the intersection between our own extent & the requested one const layerExtent = this.getExtent() || [-Infinity, -Infinity, Infinity, Infinity];