Fix typings

This commit is contained in:
Pieter Vander Vennet 2022-09-21 02:21:20 +02:00
parent 728f526b61
commit 28fc81c96f
4 changed files with 12 additions and 9 deletions

View file

@ -18,6 +18,7 @@ import Title from "../Base/Title"
import { GlobalFilter } from "../../Logic/State/MapState"
import { VariableUiElement } from "../Base/VariableUIElement"
import { Tag } from "../../Logic/Tags/Tag"
import {WayId} from "../../Models/OsmFeature";
export default class ConfirmLocationOfPoint extends Combine {
constructor(
@ -35,7 +36,7 @@ export default class ConfirmLocationOfPoint extends Combine {
confirm: (
tags: any[],
location: { lat: number; lon: number },
snapOntoWayId: string
snapOntoWayId: WayId | undefined
) => void,
cancel: () => void,
closePopup: () => void