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
Name | Type | Description |
---|---|---|
node | Node<Node> | |
typeFormatFlags | TypeFormatFlags |