@ng-doc/builder / Function

displayType

Display type of the node. Structures don't return inferred types, so we need to get the type from the node.

Presentation

function displayType(
  node: Node<Node>,
  typeFormatFlags: TypeFormatFlags = TypeFormatFlags.NoTruncation,
): string;

Returns

string

Parameters

NameTypeDescription
node
Node<Node>

@param node

typeFormatFlags
TypeFormatFlags

@param typeFormatFlags