MCPcopy Index your code
hub / github.com/tinyplex/tinybase / getReflectionMarkdown

Function getReflectionMarkdown

site/thumbnail.ts:69–76  ·  view source on GitHub ↗
(reflection: any)

Source from the content-addressed store, hash-verified

67};
68
69const getReflectionMarkdown = (reflection: any): string[] =>
70 [
71 ...getCommentTexts(reflection.comment),
72 ...getCommentTexts(reflection?.signatures?.[0]?.comment),
73 ...getCommentTexts(reflection?.reflectionComment?.signatures?.[0]?.comment),
74 ...getCommentTexts(reflection?.type?.declaration?.signatures?.[0]?.comment),
75 ...getCommentTexts(reflection?.type?.declaration?.comment),
76 ].filter((markdown): markdown is string => markdown != null);
77
78export const extractThumbnailMarkdown: NodeTransform = (node) => {
79 if (node.reflection != null) {

Callers 1

extractThumbnailMarkdownFunction · 0.85

Calls 1

getCommentTextsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…