( symbol: ts.Symbol, checker: ts.TypeChecker, cwd: string )
| 1733 | } |
| 1734 | |
| 1735 | function undocumentedSeeLinkTarget( |
| 1736 | symbol: ts.Symbol, |
| 1737 | checker: ts.TypeChecker, |
| 1738 | cwd: string |
| 1739 | ): ts.Declaration | undefined { |
| 1740 | const localDeclarations = symbolDeclarations(symbol, checker).filter((declaration) => |
| 1741 | isMemberDeclaration(declaration) && isLocalSourceFile(cwd, declaration.getSourceFile()) |
| 1742 | ) |
| 1743 | if (localDeclarations.length === 0 || symbolHasPublicJSDoc(symbol, checker)) return undefined |
| 1744 | return localDeclarations[0] |
| 1745 | } |
| 1746 | |
| 1747 | function inlineLinkSymbol( |
| 1748 | symbol: ts.Symbol, |
no test coverage detected