Skip to content

renderMethodTableMdx

Renders a type’s method table.

Import:

import { renderMethodTableMdx } from '@mnaoumov/typescript-dev-toolkit/docs-site/api-doc-page-generation';

Signature:

function renderMethodTableMdx(lines: string[], info: TypeInfo, allTypes: Map<string, TypeInfo>): void

Parameters:

Parameter Type Description
lines string[] The page lines to append to.
info TypeInfo The documented type.
allTypes Map<string, TypeInfo> Every documented type, keyed by $\{namespace\}#$\{name\}.

Returns: void