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

Function writeApiDataFile

ark/repo/jsdocGen.ts:195–205  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

193}
194
195export const writeApiDataFile = () => {
196 writeFile(
197 apiDataPath,
198 `import type { ApiDocsByGroup } from "../../repo/jsdocGen.ts"
199
200/** THIS FILE IS AUTOGENERATED FROM ark/repo/jsdocGen.ts **/
201// prettier-ignore
202export const apiDocsByGroup: ApiDocsByGroup = ${JSON.stringify(apiDocsByGroup, null, 4)}
203`
204 )
205}
206
207export const getAllJsDoc = (project: Project) => {
208 const sourceFiles = project.getSourceFiles()

Callers 1

jsDocGenFunction · 0.85

Calls 1

writeFileFunction · 0.85

Tested by

no test coverage detected