mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-02-04 07:27:18 +00:00
TS2322: Type '(_: any) => void' is not assignable to type '() => any'.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user