UNPKG

typedoc-plugin-markdown

Version:

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

22 lines (21 loc) 655 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.memberSymbol = void 0; const typedoc_1 = require("typedoc"); function memberSymbol() { const isStatic = this.flags && this.flags.isStatic; if (this.kind === typedoc_1.ReflectionKind.CallSignature) { return '▸'; } if (this.kind === typedoc_1.ReflectionKind.TypeAlias) { return 'Ƭ'; } if (this.kind === typedoc_1.ReflectionKind.ObjectLiteral) { return '▪'; } if (this.kind === typedoc_1.ReflectionKind.Property && isStatic) { return '▪'; } return '•'; } exports.memberSymbol = memberSymbol;