(cwd: string, sourceFile: ts.SourceFile)
| 1706 | } |
| 1707 | |
| 1708 | function isLocalSourceFile(cwd: string, sourceFile: ts.SourceFile): boolean { |
| 1709 | if (sourceFile.isDeclarationFile) return false |
| 1710 | const relative = path.relative(cwd, sourceFile.fileName) |
| 1711 | return relative === "" || (!relative.startsWith("..") && !path.isAbsolute(relative)) |
| 1712 | } |
| 1713 | |
| 1714 | function symbolDeclarations(symbol: ts.Symbol, checker: ts.TypeChecker): ReadonlyArray<ts.Declaration> { |
| 1715 | const target = resolvedSymbolTarget(symbol, checker) |
no outgoing calls
no test coverage detected