(value: string, suffix: string)
| 17 | } |
| 18 | |
| 19 | function parseBudgetMatch(value: string, suffix: string): number { |
| 20 | return parseFloat(value) * MULTIPLIERS[suffix.toLowerCase()]! |
| 21 | } |
| 22 | |
| 23 | export function parseTokenBudget(text: string): number | null { |
| 24 | const startMatch = text.match(SHORTHAND_START_RE) |