(str: string)
| 812 | } |
| 813 | |
| 814 | private capture(str: string): void { |
| 815 | if (!this.consumeOptional(str)) { |
| 816 | throw new RuntimeError( |
| 817 | RuntimeErrorCode.UNEXPECTED_VALUE_IN_URL, |
| 818 | (typeof ngDevMode === 'undefined' || ngDevMode) && `Expected "${str}".`, |
| 819 | ); |
| 820 | } |
| 821 | } |
| 822 | } |
| 823 | |
| 824 | export function createRoot(rootCandidate: UrlSegmentGroup): UrlSegmentGroup { |
no test coverage detected