(str)
| 18065 | ts.createDiagnosticCollection = createDiagnosticCollection; |
| 18066 | var templateSubstitutionRegExp = /\$\{/g; |
| 18067 | function escapeTemplateSubstitution(str) { |
| 18068 | return str.replace(templateSubstitutionRegExp, "\\${"); |
| 18069 | } |
| 18070 | /** @internal */ |
| 18071 | function hasInvalidEscape(template) { |
| 18072 | return template && !!(ts.isNoSubstitutionTemplateLiteral(template) |