(str: string)
| 54 | } |
| 55 | |
| 56 | export function escapeJsSingleQuotedString(str: string) { |
| 57 | return str.replace(JS_SINGLE_QUOTE_ESCAPE_RE, (match) => JS_SINGLE_QUOTE_ESCAPES[match] ?? match) |
| 58 | } |
| 59 | |
| 60 | export function escapeJsTemplateLiteralText(str: string) { |
| 61 | return str.replace( |
no outgoing calls
no test coverage detected