MCPcopy Create free account
hub / github.com/arktypeio/arktype / getAllJsDoc

Function getAllJsDoc

ark/repo/jsdocGen.ts:207–213  ·  view source on GitHub ↗
(project: Project)

Source from the content-addressed store, hash-verified

205}
206
207export const getAllJsDoc = (project: Project) => {
208 const sourceFiles = project.getSourceFiles()
209
210 return sourceFiles.flatMap(file =>
211 file.getDescendantsOfKind(SyntaxKind.JSDoc)
212 )
213}
214
215export type ApiGroup = TypeApiGroup | "Traversal"
216

Callers 1

jsDocGenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected