Type alias Descendant<T>

Descendant<T>: T | DescendantsImpl<T>

Returns the type of all possible ancestor nodes of the given node type. This trivially includes the given type.

Type Parameters

  • T extends Node