Fix typing and build

This commit is contained in:
Pieter Vander Vennet 2022-11-07 23:35:17 +01:00
parent 336ebc4ea9
commit 5f1a7892c1
6 changed files with 20 additions and 19 deletions

View file

@ -3,11 +3,11 @@
*/
import { UIEventSource } from "./UIEventSource"
import { GeoJSONObject } from "@turf/turf"
import {Feature, Point} from "geojson";
import {Feature, Geometry, Point} from "geojson";
import {OsmTags} from "../Models/OsmFeature";
export class ElementStorage {
public ContainingFeatures = new Map<string, Feature<Point, OsmTags >>()
public ContainingFeatures = new Map<string, Feature<Geometry, OsmTags >>()
private _elements = new Map<string, UIEventSource<any>>()
constructor() {}