(property: keyof T)
| 137 | |
| 138 | export const sortAlphabeticallyByProperty = |
| 139 | <T>(property: keyof T) => |
| 140 | (a: T, b: T): number => { |
| 141 | if (a[property] < b[property]) { |
| 142 | return -1; |
| 143 | } |
| 144 | |
| 145 | if (a[property] > b[property]) { |
| 146 | return 1; |
| 147 | } |
| 148 | |
| 149 | return 0; |
| 150 | }; |
| 151 | |
| 152 | export enum UserAgent { |
| 153 | Chrome = 'Chrome', |
nothing calls this directly
no outgoing calls
no test coverage detected