(key: Key)
| 19 | >(); |
| 20 | |
| 21 | function normalizeKey(key: Key): string { |
| 22 | if (typeof key === 'string') { |
| 23 | return key.replace(/\s*/g, ''); |
| 24 | } |
| 25 | |
| 26 | return '' + key; |
| 27 | } |
| 28 | |
| 29 | export function getColumnHeaderId<T>(state: TableState<T>, columnKey: Key): string { |
| 30 | let gridId = gridIds.get(state); |
no outgoing calls
no test coverage detected