UNPKG

typedoc-plugin-markdown

Version:

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

7 lines (6 loc) 179 B
export function literalType(model) { if (typeof model.value === 'bigint') { return `\`${model.value}n\``; } return `\`\`${JSON.stringify(model.value)}\`\``; }