Change getUid return type from number to string

This commit is contained in:
Frederic Junod
2018-10-17 08:58:50 +02:00
parent a85099a36b
commit 041836c645
33 changed files with 78 additions and 92 deletions

View File

@@ -192,7 +192,7 @@ class RasterSource extends ImageSource {
const layerStatesArray = getLayerStatesArray(this.renderers_);
/**
* @type {Object<number, import("../layer/Layer.js").State>}
* @type {Object<string, import("../layer/Layer.js").State>}
*/
const layerStates = {};
for (let i = 0, ii = layerStatesArray.length; i < ii; ++i) {