(el: SelectElement)
| 199 | } |
| 200 | |
| 201 | function printSelectElement(el: SelectElement) { |
| 202 | const keys = Object.keys(el.options).sort(compareCodePoints) |
| 203 | const msg = [ |
| 204 | el.value, |
| 205 | 'select', |
| 206 | keys |
| 207 | .map(id => `${id}{${doPrintAST(el.options[id].value, false)}}`) |
| 208 | .join(' '), |
| 209 | ].join(',') |
| 210 | return `{${msg}}` |
| 211 | } |
| 212 | |
| 213 | const PLURAL_RULE_ORDER: Record<string, number> = { |
| 214 | zero: 0, |
no test coverage detected