(filePath: string)
| 207 | } |
| 208 | |
| 209 | function languageForFile(filePath: string): Language { |
| 210 | if (filePath.endsWith('.vue')) return 'vue'; |
| 211 | if (/\.(?:ts|mts|cts)$/.test(filePath)) return 'typescript'; |
| 212 | return 'javascript'; |
| 213 | } |
| 214 | |
| 215 | /** The id a config-declared route carries — a verbatim reconstruction, so the table can recognise its own. */ |
| 216 | function routeId(filePath: string, line: number, path: string): string { |
no outgoing calls
no test coverage detected