(file: ts.SourceFile, position: number)
| 323 | }; |
| 324 | return transformed; |
| 325 | } |
| 326 | |
| 327 | getLocationOfPositionInFile(file: ts.SourceFile, position: number): Location { |
| 328 | const lac = file.getLineAndCharacterOfPosition(position); |
| 329 | // Location is 1-indexed |
| 330 | return { line: lac.line + 1, offset: lac.character + 1 }; |
| 331 | } |
| 332 |
no outgoing calls
no test coverage detected