(at: number)
| 259 | if (!ROUTER_IMPORT.test(content)) return { routes, mounts, redirects }; |
| 260 | const safe = stripCommentsForRegex(content, 'typescript'); |
| 261 | const lineOf = (at: number) => safe.slice(0, at).split('\n').length; |
| 262 | const seenPaths = new Set<string>(); |
| 263 | const walked = new Set<number>(); |
| 264 |