3 ms·
It works fine, but the typescript types that prisma generates says that type is a date, not a string. So I can't directly use that as the API response type, I
by qudat 6y ago
It works fine, but the typescript types that prisma generates says that type is a date, not a string. So I can't directly use that as the API response type, I have to modify the prisma type to get it to work correctly on the FE.
Does that make sense?