Improve typing, make DownloadAsync cache timing flexible

This commit is contained in:
Pieter Vander Vennet 2022-09-21 02:11:10 +02:00
parent bdb5833a1c
commit 728f526b61
2 changed files with 35 additions and 26 deletions

View file

@ -19,7 +19,7 @@ export default class CreateNewNodeAction extends OsmCreateAction {
private readonly _lon: number
private readonly _snapOnto: OsmWay
private readonly _reusePointDistance: number
private meta: { changeType: "create" | "import"; theme: string; specialMotivation?: string }
private readonly meta: { changeType: "create" | "import"; theme: string; specialMotivation?: string }
private readonly _reusePreviouslyCreatedPoint: boolean
constructor(