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
Currently, we're importing some types from @prisma/client and functions from react-router without having those packages listed as dependencies on the front-end package.json file. Adding them causes issues, especially with prisma. I tried it and it no longer recognized User, for example, as an exported member. I think the ideal solution would be to export the required types from the backend and import them from there, or figure out a way to have a shared types.ts. For now, I've left a warning from ESlint
The text was updated successfully, but these errors were encountered:
Currently, we're importing some types from @prisma/client and functions from react-router without having those packages listed as dependencies on the front-end package.json file. Adding them causes issues, especially with prisma. I tried it and it no longer recognized
User
, for example, as an exported member. I think the ideal solution would be to export the required types from the backend and import them from there, or figure out a way to have a shared types.ts. For now, I've left a warning from ESlintThe text was updated successfully, but these errors were encountered: