Vinyl
    Preparing search index...

    Interface XmlElement<T>

    An interface that may be implemented to provide custom clone behavior.

    interface XmlElement<T = any> {
        get parent(): null | XmlElement<any>;
        clone(): T & XmlElement<T>;
        toJSON(): any;
    }

    Type Parameters

    • T = any

    Hierarchy (View Summary)

    Implemented by

    Index

    Accessors

    Methods

    Accessors

    • get parent(): null | XmlElement<any>

      Returns null | XmlElement<any>

    Methods

    • Returns any