(text: string, expecting: string, index: number)
| 319 | } |
| 320 | |
| 321 | function malformedStyleError(text: string, expecting: string, index: number): never { |
| 322 | ngDevMode && assertEqual(typeof text === 'string', true, 'String expected here'); |
| 323 | throw throwError( |
| 324 | `Malformed style at location ${index} in string '` + |
| 325 | text.substring(0, index) + |
| 326 | '[>>' + |
| 327 | text.substring(index, index + 1) + |
| 328 | '<<]' + |
| 329 | text.slice(index + 1) + |
| 330 | `'. Expecting '${expecting}'.`, |
| 331 | ); |
| 332 | } |
no test coverage detected
searching dependent graphs…