The type hierarchy params is an extension of the TextDocumentPositionParams with optional properties which can be used to eagerly resolve the item when requesting from the server.

interface TypeHierarchyParams {
    direction?: TypeHierarchyDirection;
    resolve?: number;
}

Hierarchy

  • TextDocumentPositionParams
    • TypeHierarchyParams

Properties

Properties

The direction of the hierarchy levels to resolve.

resolve?: number

The hierarchy levels to resolve. 0 indicates no level. When not defined, it is treated as 0.