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

Function assertInterfaceDocs

_tools/check_docs.ts:371–377  ·  view source on GitHub ↗
(document: DocNodeWithJsDoc<DocNodeInterface>)

Source from the content-addressed store, hash-verified

369
370// deno-lint-ignore no-unused-vars
371function assertInterfaceDocs(document: DocNodeWithJsDoc<DocNodeInterface>) {
372 // TODO(iuioiua): This is currently disabled deliberately, as it throws errors
373 // for interface properties that don't have a `@default` tag. Re-enable this
374 // when checking for `@default` tags again, or when a solution is found for
375 // ignoring some properties (those that don't require a `@default` tag).
376 // assertHasDefaultTags(document);
377}
378
379function assertHasDeprecationDesc(document: DocNodeWithJsDoc<DocNode>) {
380 const tags = document.jsDoc?.tags;

Callers 1

assertDocsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected