We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 822f7cf commit 31f01fdCopy full SHA for 31f01fd
src/package-overview.ts
@@ -1,9 +1,9 @@
1
import { SourceFile, SyntaxKind } from "ts-morph";
2
3
-export const packageOverview = (indexFile: SourceFile): string | undefined => {
+export function packageOverview(indexFile: SourceFile): string | undefined {
4
return indexFile
5
.getDescendantsOfKind(SyntaxKind.JSDocTag)
6
.find((tag) => tag.getTagName() === "packageDocumentation")
7
?.getParentIfKind(SyntaxKind.JSDoc)
8
?.getText();
9
-};
+}
0 commit comments