(expression: TemplateExpression)
| 925 | * `${expression}` into strings. |
| 926 | */ |
| 927 | const parseExpression = (expression: TemplateExpression): string => { |
| 928 | const type = typeof expression |
| 929 | if (type === "string") { |
| 930 | return expression as string // Return strings directly |
| 931 | } |
| 932 | return String(expression) // Convert numbers to strings |
| 933 | } |
| 934 | |
| 935 | const DELIMITERS = new Set([" ", "\t", "\r", "\n"]) |
| 936 |
no test coverage detected