UNPKG

typedoc-plugin-markdown

Version:

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

13 lines (12 loc) 351 B
import { ReflectionKind, } from 'typedoc'; export function isGroupKind(model) { const groupKinds = [ ReflectionKind.Class, ReflectionKind.Interface, ReflectionKind.Enum, ReflectionKind.Function, ReflectionKind.Variable, ReflectionKind.TypeAlias, ]; return groupKinds.includes(model.kind); }