UNPKG

typedoc-plugin-markdown

Version:

A plugin for TypeDoc that enables TypeScript API documentation to be generated in Markdown.

6 lines (5 loc) 213 B
export function hasSignatures(model) { return (!model.type?.declaration?.children?.length && (Boolean(model.signatures?.length) || Boolean(model.type?.declaration?.signatures?.length))); }