(str: string)
| 165 | }; |
| 166 | |
| 167 | export const escapeBacktickString = (str: string): string => |
| 168 | str.replaceAll(/`|\\|\${/g, '\\$&'); |
| 169 | |
| 170 | const printBacktickString = (str: string): string => |
| 171 | `\`${escapeBacktickString(str)}\``; |
no outgoing calls
no test coverage detected