getDisplayName
The type’s name with its type parameters, without their constraints.
Import:
import { getDisplayName } from '@mnaoumov/typescript-dev-toolkit/docs-site/api-doc-text-utils';Signature:
function getDisplayName(name: string, info: TypeInfo): stringParameters:
| Parameter | Type | Description |
|---|---|---|
name |
string | The type’s name. |
info |
TypeInfo | The documented type. |
Returns: string — The name with its bare type parameters.