mapcomplete/Logic/Osm/Actions/ChangeLocationAction.ts

17 lines
No EOL
506 B
TypeScript

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([]);
}
}