David Bushell 🪿 @dbushell.com · Mar 10

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 :(

2 likes 2 replies

?

Replies

Scott Wu · Mar 10

You need to use the this `import {SubmitFunction} from ’./$typea'`

David Dal Busco · Mar 10

Did you run "npm prepare" or loaded the app once in your browser? I actually generated few types this morning, did not notice issue.