(entries: [string, T][])
| 148 | } |
| 149 | |
| 150 | function sortByGoFieldName<T>(entries: [string, T][]): [string, T][] { |
| 151 | return entries.sort(([left], [right]) => compareGoFieldNames(toGoFieldName(left), toGoFieldName(right))); |
| 152 | } |
| 153 | |
| 154 | function sortByPascalName<T>(entries: [string, T][]): [string, T][] { |
| 155 | return entries.sort(([left], [right]) => toPascalCase(left).localeCompare(toPascalCase(right))); |
no test coverage detected
searching dependent graphs…