diff --git a/Logic/FeatureSource/Sources/FeatureSourceMerger.ts b/Logic/FeatureSource/Sources/FeatureSourceMerger.ts index 52121ada2..87b011edd 100644 --- a/Logic/FeatureSource/Sources/FeatureSourceMerger.ts +++ b/Logic/FeatureSource/Sources/FeatureSourceMerger.ts @@ -16,7 +16,7 @@ export default class FeatureSourceMerger implements IndexedFeatureSource { * In case that multiple features have the same id, the latest `_version_number` will be used. Otherwise, we will take the last one */ constructor(...sources: FeatureSource[]) { - this._featuresById = new UIEventSource>(undefined) + this._featuresById = new UIEventSource>(new Map()) this.featuresById = this._featuresById const self = this sources = Utils.NoNull(sources)