Forest.js Core Documentation - v1.2.3
    Preparing search index...

    Type Alias DomElement<T>

    DomElement: HTMLElementTagNameMap[T]

    Helper type to retrieve the actual DOM element type from a tag name. This is useful when creating or manipulating elements dynamically.

    Type Parameters

    const div = tree("div"); // <- "const div" is a DomElement