Zero effort type safety for inlined enhance callback
It would be nice if the inlined enhance callback could be auto typed to the SubmitFunction type from ./$types in +page.svelte files.
Since typescript in the template is not supported in Svelte < 5, it would probably only be possible for projects that use Svelte 5. Or is it possible with JSDoc?
Auto type the callback.
No response
No response