(weight: number)
| 134 | |
| 135 | /** A topic weight as the boost it gives a post, or No boost. */ |
| 136 | export const formatBoost = (weight: number): string => |
| 137 | weight > 0 ? `×${(1 + weight).toFixed(2)}` : 'No boost'; |
| 138 | |
| 139 | const strengthPhrase: Partial<Record<ExplainStrength, string>> = { |
| 140 | [ExplainStrength.Strong]: 'and read about it often', |
no outgoing calls
no test coverage detected