Blankeos
Blankeos2y ago

Is there a way to get the type of a schema?

Let's say I have a schema defined in schema.ts. Is it possible to use their types for my own custom functions or utilities?
3 Replies
ballingt
ballingt2y ago
You've got a couple options, the simplest is Doc<"tablename">
Blankeos
BlankeosOP2y ago
Thanks @ballingt !

Did you find this page helpful?