You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working with drizzle and typescript and I think there should be two import paths for types. drizzle-orm for core types that are shared and drizzle-orm/pg-core or drizzle-orm/... for database specific types. But unfortunately some types are exist in a path that is hard to find and is long to type. Example: import { SelectResultFields } from "drizzle-orm/query-builders/select.types";
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am working with drizzle and typescript and I think there should be two import paths for types.
drizzle-orm
for core types that are shared anddrizzle-orm/pg-core
ordrizzle-orm/...
for database specific types. But unfortunately some types are exist in a path that is hard to find and is long to type. Example:import { SelectResultFields } from "drizzle-orm/query-builders/select.types";
Beta Was this translation helpful? Give feedback.
All reactions