(str: string)
| 58 | } |
| 59 | |
| 60 | export function escapeJsTemplateLiteralText(str: string) { |
| 61 | return str.replace( |
| 62 | JS_TEMPLATE_LITERAL_ESCAPE_RE, |
| 63 | (match) => JS_TEMPLATE_LITERAL_ESCAPES[match] ?? match |
| 64 | ) |
| 65 | } |
| 66 | |
| 67 | export function stringify(value: unknown) { |
| 68 | return stringifyObject(value, { indent: ' ' }) |
no outgoing calls
no test coverage detected