(url: string)
| 221 | } |
| 222 | |
| 223 | function extractPackageNameFromUrl(url: string): string | null { |
| 224 | const extractedSegment = url.match(/\/api\/(.*)\/.*#?/); |
| 225 | if (extractedSegment == null) { |
| 226 | return null; |
| 227 | } |
| 228 | return `<code>@angular/${extractedSegment[1]}</code>`; |
| 229 | } |
no test coverage detected
searching dependent graphs…