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
When using pgtyped, we're given the functions to call and the TypeScript types in the same file. For consumption on a frontend, the sql libraries cannot be loaded, so doing a type-import causes compilation errors.
Has there been thought or work done to separate the generated types into a .types.ts file instead of functions and types together in the .ts output file?
The text was updated successfully, but these errors were encountered:
When using
pgtyped
, we're given the functions to call and the TypeScript types in the same file. For consumption on a frontend, the sql libraries cannot be loaded, so doing a type-import causes compilation errors.Has there been thought or work done to separate the generated types into a
.types.ts
file instead of functions and types together in the.ts
output file?The text was updated successfully, but these errors were encountered: