Home > @microsoft/api-extractor-model > ApiItem > getHierarchy
ApiItem.getHierarchy() method
Returns the chain of ancestors, starting from the root of the tree, and ending with the this item.
Signature:
getHierarchy(): ReadonlyArray<ApiItem>;
Returns:
ReadonlyArray<ApiItem>