(text: string)
| 529 | } |
| 530 | |
| 531 | export function parseIntAutoRadix(text: string): number { |
| 532 | const result: number = parseInt(text); |
| 533 | if (isNaN(result)) { |
| 534 | throw new RuntimeError( |
| 535 | RuntimeErrorCode.INVALID_INTEGER_LITERAL, |
| 536 | ngDevMode && 'Invalid integer literal when parsing ' + text, |
| 537 | ); |
| 538 | } |
| 539 | return result; |
| 540 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…