@tinyactors/scxmljs
    Preparing search index...

    Interface DOMParserLike

    A DOMParser: the browser's, or one from a DOM implementation such as happy-dom or linkedom. Only parseFromString is used, and its result only needs to behave like a standard XML Document; the return type is unknown so any implementation's own Document type is accepted without a cast.

    interface DOMParserLike {
        parseFromString(source: string, type: string): unknown;
    }
    Index

    Methods

    • Parse source as the given MIME type (the session asks for application/xml).

      Parameters

      • source: string
      • type: string

      Returns unknown