(num: number)
| 11 | } |
| 12 | |
| 13 | export function numberFormat(num: number) { |
| 14 | return num < 1000 ? toThousands(num): toThousands((num / 1000).toFixed(1)) + 'k' |
| 15 | } |
| 16 | |
| 17 | export function filesize(size: number) { |
| 18 | if (!size) return '' |
nothing calls this directly
no test coverage detected