(a: { [k: string]: string }, b: { [k: string]: string }, field: string)
| 19 | } |
| 20 | |
| 21 | export const frontendTimeSorter = (a: { [k: string]: string }, b: { [k: string]: string }, field: string) => { |
| 22 | return new Date(a[field]).getTime() - new Date(b[field]).getTime() |
| 23 | } |
no outgoing calls
no test coverage detected