Closed yousufhassan closed 1 year ago
Create named types for all the data stored in the database, and specify them in the functions that return Users, Chats, Conversations.
For now, put them all in a file called types.ts within src/, but maybe create multiple files if several types are being made.
types.ts
src/
Create named types for all the data stored in the database, and specify them in the functions that return Users, Chats, Conversations.
For now, put them all in a file called
types.ts
withinsrc/
, but maybe create multiple files if several types are being made.