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