divramod
Explore posts from serversgenerate types and publish them in a npm package
hey hey,
i am a trpc beginner.
i was able to get trpc running in a nx monorepo.
now i need to publish my trpc router types as a npm package, so that it can be installed and consumed via npm in another one of our projects.
could someone help me finding out the command to generate the types?
or is there a guide somewhere?
greetings arvid
1 replies
DTDrizzle Team
•Created by divramod on 8/9/2024 in #help
how to infer the type of the db for the postgres driver
hey hey,
i am just starting to use drizzle. i really like it!
i want to pass the db to another function to avoid the need to recreate it, for that i need to know the type of the db const.
can anyone tell me, how to infer it?
my question is, how i can infer the type of db for the following code
3 replies