Skip to content

Commit 74c3fc8

Browse files
committed
lint fixes
1 parent 2c7b9f0 commit 74c3fc8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

web-vite/src/app/map/utils.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ export async function getFgbData(map: any) {
1919
let i = 0;
2020
const geojson = { type: "FeatureCollection", features: [] };
2121

22-
let iter = flatgeobuf.deserialize(
22+
const iter = flatgeobuf.deserialize(
2323
"https://storage.googleapis.com/osm-tardis/2013-02-03T15%3A00.fgb",
24-
fbgBbox(map)
24+
fbgBbox(map),
2525
);
2626

27-
let timestamps = new Set();
27+
const timestamps = new Set();
2828

29-
for await (let feature of iter) {
29+
for await (const feature of iter) {
3030
if (
3131
feature.properties.type !== "relation" &&
3232
(feature.properties.changeType === "added" ||
@@ -60,7 +60,7 @@ export function calculateStats(geojson: any) {
6060
users: {},
6161
};
6262

63-
for (let feature of geojson.features) {
63+
for (const feature of geojson.features) {
6464
const changeType = feature.properties.changeType;
6565
if (
6666
changeType === "added" ||

0 commit comments

Comments
 (0)