(text: string)
| 178 | }); |
| 179 | |
| 180 | function createPlaceholder(text: string): i18n.MessagePlaceholder { |
| 181 | const file = new ParseSourceFile(text, 'file://test'); |
| 182 | const start = new ParseLocation(file, 0, 0, 0); |
| 183 | const end = new ParseLocation(file, text.length, 0, text.length); |
| 184 | return { |
| 185 | text, |
| 186 | sourceSpan: new ParseSourceSpan(start, end), |
| 187 | }; |
| 188 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…