© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•3y ago•
7 replies
tzezar

how to use types on frontend

Hey guyz, according to: helpcreate exportable types for frontend services it is possible to get types for inserts or reads; thats super dope, but I have a question, I am not sure how to use those types on fronted.

Got two folders, one for backend with expressjs + drizzle and second one for frontend (svelte + sveltekit). How can I import those types?

backend
export type ProductVariant= typeof productVariant.$inferInsert;
export type ProductVariant= typeof productVariant.$inferInsert;


fronted
???
???
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How to use drizzle-zod types in the frontend
Drizzle TeamDTDrizzle Team / help
2mo ago
create exportable types for frontend services
Drizzle TeamDTDrizzle Team / help
3y ago
How to use drizzle-zod generated schemas in Next.JS frontend?
Drizzle TeamDTDrizzle Team / help
3y ago
How to define types for jsonb
Drizzle TeamDTDrizzle Team / help
3y ago