Skip to content

renderPropertyTableMdx

Renders a type’s property table.

Import:

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

Signature:

function renderPropertyTableMdx(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