MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / defTypings

Function defTypings

Bunoshfile.js:35–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33 * Generate TypeScript definition files from JSDoc.
34 */
35export async function defTypings() {
36 task.stopOnFailures()
37 say('Generate TypeScript definition')
38 await shell`npx jsdoc -c typings/jsdocPromiseBased.conf.json`
39 fs.renameSync('typings/types.d.ts', 'typings/promiseBasedTypes.d.ts')
40 await shell`npx jsdoc -c typings/jsdoc.conf.json`
41}
42
43/**
44 * Generate documentation for plugins: each plugin gets a dedicated page plus an overview index.

Callers 1

defFunction · 0.70

Calls 1

sayFunction · 0.85

Tested by

no test coverage detected