Skip to content

registerGenericTypeParams

Register all type parameter names so renderTypeWithLinks won’t hyperlink them. Skip names that are also known types — those should still be linkable.

Import:

import { registerGenericTypeParams } from '@mnaoumov/typescript-dev-toolkit/docs-site/api-doc-source-processing';

Signature:

function registerGenericTypeParams(types: Map<string, TypeInfo>): void

Parameters:

Parameter Type Description
types Map<string, TypeInfo> The documented types, keyed by qualified id.

Returns: void