MCPcopy Create free account
hub / github.com/denoland/std / assertClassPropertyDocs

Function assertClassPropertyDocs

_tools/check_docs.ts:315–319  ·  view source on GitHub ↗

* Asserts that a class property document has: * - At least one code https://jsdoc.app/tags-example | @example tag with * a code snippet that executes successfully.

(
  property: DocNodeWithJsDoc<ClassPropertyDef>,
)

Source from the content-addressed store, hash-verified

313 * a code snippet that executes successfully.
314 */
315function assertClassPropertyDocs(
316 property: DocNodeWithJsDoc<ClassPropertyDef>,
317) {
318 assertHasExampleTag(property);
319}
320
321/**
322 * Checks a constructor document for:

Callers 1

assertClassDocsFunction · 0.85

Calls 1

assertHasExampleTagFunction · 0.85

Tested by

no test coverage detected