(safe: string, index: number)
| 508 | } |
| 509 | |
| 510 | function lineAt(safe: string, index: number): number { |
| 511 | return safe.slice(0, index).split('\n').length; |
| 512 | } |
| 513 | |
| 514 | function detectLanguage(filePath: string): JsLang { |
| 515 | if (filePath.endsWith('.ts') || filePath.endsWith('.tsx')) return 'typescript'; |
no outgoing calls
no test coverage detected