UNPKG

typedoc-plugin-markdown

Version:

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

5 lines (4 loc) 183 B
export function arrayType(model) { const theType = this.partials.someType(model.elementType); return model.elementType.type === 'union' ? `(${theType})[]` : `${theType}[]`; }