fix: type the proxy handlers and the delete callback

The RequestHandler import sat commented out while all four handlers were
annotated with it, so every destructured parameter was an implicit any --
24 of the 30 svelte-check errors. deleteFn returned `{}`, which void is not
assignable to.
This commit is contained in:
2026-08-17 17:42:34 -04:00
parent 157cc60e91
commit fbe8a8bf21
2 changed files with 2 additions and 2 deletions
@@ -13,7 +13,7 @@
}: {
open: boolean;
title?: string;
deleteFn: (deleteFiles: boolean) => {};
deleteFn: (deleteFiles: boolean) => void | Promise<void>;
} = $props();
const selectedState = getBookSelectionState();