Refactoring: Fix linting errors

This commit is contained in:
Pieter Vander Vennet 2024-04-10 14:12:03 +02:00
parent 152b8838cf
commit 0c6ae6f6ad

View file

@ -7,6 +7,7 @@ import { Utils } from "../../Utils"
import ThemeViewState from "../../Models/ThemeViewState" import ThemeViewState from "../../Models/ThemeViewState"
import { BBox } from "../BBox" import { BBox } from "../BBox"
import { Feature } from "geojson" import { Feature } from "geojson"
import { SpecialVisualizationState } from "../../UI/SpecialVisualization"
export default class SelectedElementTagsUpdater { export default class SelectedElementTagsUpdater {
private static readonly metatags = new Set([ private static readonly metatags = new Set([
@ -31,7 +32,7 @@ export default class SelectedElementTagsUpdater {
}) })
} }
public static applyUpdate(latestTags: OsmTags, id: string, state: ThemeViewState) { public static applyUpdate(latestTags: OsmTags, id: string, state: SpecialVisualizationState) {
try { try {
const leftRightSensitive = state.layout.isLeftRightSensitive() const leftRightSensitive = state.layout.isLeftRightSensitive()