forked from MapComplete/MapComplete
Chore: linting
This commit is contained in:
parent
4625ad9a5c
commit
097141f944
307 changed files with 5346 additions and 2147 deletions
|
|
@ -6,7 +6,11 @@ import { Feature } from "geojson"
|
|||
import { ImageUploadManager } from "../ImageProviders/ImageUploadManager"
|
||||
|
||||
export default class PendingChangesUploader {
|
||||
constructor(changes: Changes, selectedFeature: UIEventSource<Feature>, uploader : ImageUploadManager) {
|
||||
constructor(
|
||||
changes: Changes,
|
||||
selectedFeature: UIEventSource<Feature>,
|
||||
uploader: ImageUploadManager
|
||||
) {
|
||||
changes.pendingChanges
|
||||
.stabilized(Constants.updateTimeoutSec * 1000)
|
||||
.addCallback(() => changes.flushChanges("Flushing changes due to timeout"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue