Use mangrove-reviews-typescript, rework reviews modules

This commit is contained in:
Pieter Vander Vennet 2023-01-21 23:58:14 +01:00
parent 93961e553f
commit 888d4e95a3
15 changed files with 768 additions and 375 deletions

View file

@ -22,7 +22,7 @@ export class ElementStorage {
*
* Note: it will cleverly merge the tags, if needed
*/
addOrGetElement(feature: any): UIEventSource<any> {
addOrGetElement(feature: Feature<Geometry, OsmTags>): UIEventSource<any> {
const elementId = feature.properties.id
const newProperties = feature.properties