mapcomplete/Logic/Osm/Actions/ChangeLocationAction.ts

17 lines
506 B
TypeScript
Raw Normal View History

2021-10-13 03:09:37 +02:00
import {ChangeDescription} from "./ChangeDescription";
import OsmChangeAction from "./OsmChangeAction";
import {Changes} from "../Changes";
export default class ChangeLocationAction extends OsmChangeAction {
constructor(id: string, newLonLat: [number, number], meta: {
theme: string,
reason: string
}) {
super();
throw "TODO"
}
protected CreateChangeDescriptions(changes: Changes): Promise<ChangeDescription[]> {
return Promise.resolve([]);
}
}