TLDR Tech / Dev
pg-typesafe (GitHub Repo)
pg-typesafe is a tool that generates TypeScript types for PostgreSQL queries. It integrates seamlessly with the `pg` library. The tool has strong typing for query parameters and return types without adding any runtime dependencies or extra verbosity to your code.
Read the full story