(cwd: string, sourceFile: ts.SourceFile)
| 1757 | } |
| 1758 | |
| 1759 | function isLocalSourceFile(cwd: string, sourceFile: ts.SourceFile): boolean { |
| 1760 | if (sourceFile.isDeclarationFile) return false |
| 1761 | const relative = path.relative(cwd, sourceFile.fileName) |
| 1762 | return relative === "" || (!relative.startsWith("..") && !path.isAbsolute(relative)) |
| 1763 | } |
| 1764 | |
| 1765 | function symbolDeclarations(symbol: ts.Symbol, checker: ts.TypeChecker): ReadonlyArray<ts.Declaration> { |
| 1766 | const target = resolvedSymbolTarget(symbol, checker) |
no outgoing calls
no test coverage detected