Skip to main content

AbstractSectionDefTypeBase.computeAdjustedKind() method

Computes an adjusted kind string based on section and member suffixes.

Signature

computeAdjustedKind(sectionSuffix: string, memberSuffix?: string): string;

Parameters

Parameter

Type

Description

sectionSuffix

string

The suffix to apply for section-based adjustments

memberSuffix

string

(Optional) The suffix to apply for member-based adjustments

Returns

string

The adjusted kind string

Remarks

Transforms the section kind for specific member types, such as converting 'public-func' into more specific kinds like 'public-constructor', 'public-destructor', or 'public-operator'. For user-defined sections, returns the member suffix directly. For hyphenated kinds, replaces the final component with the section suffix. Otherwise, returns the member suffix as the default behaviour.


Generated via tsdoc2docusaurus 1.3.0 by API Extractor/Documenter 7.52.8.