Mastodon Feed: Post

Mastodon Feed

db@social.lol ("David Bushell ☕") wrote:

am i holding it wrong, or are the SvelteKit types not generating correctly? Zed editor bug?

I changed the return from `success` to `action`, it logs correctly, but the types are wrong. I deleted .svelte-kit and restarted everything - no luck :(

SvelteKit code for an enhanced submit function logging the action data with a TypeScript tooltip showing the wrong type.