(message: string, index: number)
| 93 | } |
| 94 | |
| 95 | function findBraceSyntaxEnd(message: string, index: number): number { |
| 96 | const closingIndex = message.indexOf('}', index + 1) |
| 97 | return closingIndex === -1 ? index + 1 : closingIndex + 1 |
| 98 | } |
| 99 | |
| 100 | function printEscapedMessage(message: string, isInPlural = false): string { |
| 101 | let result = '' |
no outgoing calls
no test coverage detected