UNPKG

typedoc-plugin-markdown

Version:

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

11 lines (10 loc) 281 B
export function indexAccessType(model) { const md = []; if (model.objectType) { md.push(this.partials.someType(model.objectType)); } if (model.indexType) { md.push(`\\[${this.partials.someType(model.indexType)}\\]`); } return md.join(''); }