| 11 | // Draft messages are used to optmistically update the UI |
| 12 | // before the server responds. |
| 13 | interface DraftMessage extends Omit<Message, "id"> { |
| 14 | id?: number; |
| 15 | } |
| 16 | |
| 17 | interface MessageListProps { |
| 18 | messages: (Message | DraftMessage)[]; |
nothing calls this directly
no outgoing calls
no test coverage detected