(record: Record<string, V>, key: string)
| 47 | } |
| 48 | |
| 49 | const omitKey = <V>(record: Record<string, V>, key: string): Record<string, V> => { |
| 50 | if (!(key in record)) return record |
| 51 | const { [key]: _removed, ...rest } = record |
| 52 | return rest |
| 53 | } |
| 54 | |
| 55 | const setQueueForChat = ( |
| 56 | queues: Record<string, QueuedMothershipMessage[]>, |
no outgoing calls
no test coverage detected