Use imports for enum types

This commit is contained in:
Andreas Hocevar
2020-04-05 08:54:32 +02:00
parent c8d5fc418c
commit b0f20d6bd6
33 changed files with 77 additions and 77 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ import {listen, unlistenByKey} from '../events.js';
* @typedef {Object} State
* @property {import("./Layer.js").default} layer
* @property {number} opacity Opacity, the value is rounded to two digits to appear after the decimal point.
* @property {SourceState} sourceState
* @property {import("../source/State.js").default} sourceState
* @property {boolean} visible
* @property {boolean} managed
* @property {import("../extent.js").Extent} [extent]
+2 -2
View File
@@ -104,7 +104,7 @@ class VectorTileLayer extends BaseVectorLayer {
/**
* @private
* @type {VectorTileRenderType}
* @type {import("./VectorTileRenderType.js").default}
*/
this.renderMode_ = renderMode;
@@ -144,7 +144,7 @@ class VectorTileLayer extends BaseVectorLayer {
}
/**
* @return {VectorTileRenderType} The render mode.
* @return {import("./VectorTileRenderType.js").default} The render mode.
*/
getRenderMode() {
return this.renderMode_;