Establish frontend type checking

This commit is contained in:
b0txec
2026-08-21 10:18:52 +03:00
parent 5007517129
commit 9dbd2ff3a5
4 changed files with 8 additions and 5 deletions
+2 -1
View File
@@ -63,6 +63,7 @@ export const CsvMapData: Component<{
[img, arrowImg],
getCityData(),
tmpWindData,
['', ''],
resolutionProps.map_3840x1440_wind,
)
}
@@ -77,4 +78,4 @@ export const CsvMapData: Component<{
style={{ 'width': '1000px', 'height': '374px' }}
/>
</>
}
}
+1 -1
View File
@@ -34,7 +34,7 @@ export function Faktiska() {
next[observation.city] = observation.value == null ? "" : observation.value.toString();
});
setValues(next);
setOverrides(new Set());
setOverrides(new Set<FaktiskaStation>());
});
const observationsByCity = () => new Map((latest() ?? []).map(item => [item.city, item]));