TS2322: Type '(_: any) => void' is not assignable to type '() => any'.

This commit is contained in:
Boris Waaub
2026-02-03 12:26:40 +01:00
parent 4eda457ef2
commit c19e6fea40

View File

@@ -74,12 +74,12 @@ const saveAndClose = function (e: Event): void {
location: location.value,
calendarRangeId: calendarRangeId.value,
})
.then((_) => {
.then(() => {
showModal.value = false;
});
};
const closeModal = function (_: any): void {
const closeModal = function (): void {
showModal.value = false;
};