(n: number)
| 32 | const shortFormat = format('.2~s'); |
| 33 | |
| 34 | function short(n: number) { |
| 35 | return n === -1 ? '--' : n ? (n < 1000 ? n.toString() : shortFormat(n)) : '0'; |
| 36 | } |
| 37 | |
| 38 | export function DataScope(props: Props) { |
| 39 | const dataCount: DataCount = { |
no test coverage detected