( symbol: ts.Symbol, checker: ts.TypeChecker, cwd: string )
| 1784 | } |
| 1785 | |
| 1786 | function undocumentedSeeLinkTarget( |
| 1787 | symbol: ts.Symbol, |
| 1788 | checker: ts.TypeChecker, |
| 1789 | cwd: string |
| 1790 | ): ts.Declaration | undefined { |
| 1791 | const localDeclarations = symbolDeclarations(symbol, checker).filter((declaration) => |
| 1792 | isMemberDeclaration(declaration) && isLocalSourceFile(cwd, declaration.getSourceFile()) |
| 1793 | ) |
| 1794 | if (localDeclarations.length === 0 || symbolHasPublicJSDoc(symbol, checker)) return undefined |
| 1795 | return localDeclarations[0] |
| 1796 | } |
| 1797 | |
| 1798 | function inlineLinkSymbol( |
| 1799 | symbol: ts.Symbol, |
no test coverage detected