Get new frontend to type check clean

Epic undertaking.
This commit is contained in:
Eli Ribble 2026-03-31 14:52:53 +00:00
parent 6f9a511874
commit 21b7b68f50
No known key found for this signature in database
52 changed files with 1616 additions and 1126 deletions

View file

@ -316,16 +316,17 @@ import MapMultipoint from "@/components/MapMultipoint.vue";
import PublicreportCard from "@/components/PublicreportCard.vue";
import TimeRelative from "@/components/TimeRelative.vue";
import { formatAddress } from "@/format";
import { PublicReport } from "@/types";
interface Emits {
(e: "viewImage", index: int): void;
(e: "viewImage", index: number): void;
}
interface Props {
report: Publicreport;
report: PublicReport;
}
const emit = defineEmits<Emits>();
const props = defineProps<Props>();
function openPhotoViewer(index) {
function openPhotoViewer(index: number) {
emit("viewImage", index);
}
</script>