ciscoheat / sveltekit-superforms

Making SvelteKit forms a pleasure to use!
https://superforms.rocks
MIT License
2.26k stars 65 forks source link

Typebox type error Property '[Kind]' is missing in type 'TObject<...>' but required in type 'TSchema'.(2345) #511

Open Sillyvan opened 1 week ago

Sillyvan commented 1 week ago

As the title mentions something broke somewhere. the example also errors. luckily its just a typescript error. From what i can tell everything works fine.

Error can be found here on 'schema' https://stackblitz.com/edit/svelte-tab-2-flmqc9?file=src%2Froutes%2F%2Bpage.server.ts (ignore the error in the browser)

"sveltekit-superforms": "^2.20.1", "@sinclair/typebox": "^0.34.2",