Kind: Class
Route-Template Linker Service
Methods
| Method | Signature | Returns |
|---|---|---|
linkRoutes | linkRoutes(files: Map<string, string>, framework: FrameworkType) | RouteMappingResult |
Where it refuses work
RouteTemplateLinkerstops the work with an early return whenfiles.size === 0.RouteTemplateLinkerstops the work with an early return when!altMatch.RouteTemplateLinkerstops the work with an early return whenfilePath.toLowerCase().includes(pattern.toLowerCase()).RouteTemplateLinkerstops the work with an early return whenframework === 'angular'.RouteTemplateLinkerstops the work with an early return whenfilePath.endsWith(templateFileName) || filePath === templatePath.RouteTemplateLinkerstops the work with an early return whenframework === 'angular' && this.isAngularRoutingFile(filePath, content).
Was this page helpful?