(text: string)
| 542 | } |
| 543 | |
| 544 | export function parseIntAutoRadix(text: string): number { |
| 545 | const result: number = parseInt(text); |
| 546 | if (isNaN(result)) { |
| 547 | throw new RuntimeError( |
| 548 | RuntimeErrorCode.INVALID_INTEGER_LITERAL, |
| 549 | ngDevMode && 'Invalid integer literal when parsing ' + text, |
| 550 | ); |
| 551 | } |
| 552 | return result; |
| 553 | } |
no outgoing calls
no test coverage detected