0.1.34 • Published 6 months ago

@types/xmldom v0.1.34

Weekly downloads
160,984
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/xmldom

Summary

This package contains type definitions for xmldom (https://github.com/xmldom/xmldom).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/xmldom.

index.d.ts

// Type definitions for xmldom 0.1.22
// Project: https://github.com/xmldom/xmldom
// Definitions by: Qubo <https://github.com/tkqubo>
//                 Karfau <https://github.com/karfau>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference lib="dom" />

declare namespace xmldom {
    var DOMParser: DOMParserStatic;
    var XMLSerializer: XMLSerializerStatic;
    var DOMImplementation: DOMImplementationStatic;

    interface DOMImplementationStatic {
        new(): DOMImplementation;
    }

    interface DOMParserStatic {
        new (): DOMParser;
        new (options: Options): DOMParser;
    }

    interface XMLSerializerStatic {
        new (): XMLSerializer;
    }

    interface DOMParser {
        parseFromString(xmlsource: string, mimeType?: string): Document;
    }

    interface XMLSerializer {
        serializeToString(node: Node): string;
    }

    interface Options {
        locator?: any;
        errorHandler?: ErrorHandlerFunction | ErrorHandlerObject | undefined;
    }

    interface ErrorHandlerFunction {
        (level: string, msg: any): any;
    }

    interface ErrorHandlerObject {
        warning?: ((msg: any) => any) | undefined;
        error?: ((msg: any) => any) | undefined;
        fatalError?: ((msg: any) => any) | undefined;
    }
}

export = xmldom;

Additional Details

  • Last updated: Fri, 02 Jul 2021 17:02:22 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Qubo, and Karfau.

@wemystic/esp-gatewayrenkoboulevardier-schematic@everything-registry/sub-chunk-958gix-polar-searchfreightwavesenterprisemessaging-npm-clientepub-to-webpubepub-kitedgar-apifeed-locatorhtml-encoderi18nsupport-libidly-workerimcdkjunit-reports-combinerknitter-thumbnailkeywormmaps-exportnetwork_logsmybatis-nodemonaco-xsd-code-completionngx-i18nsupport-libplaywright-actionbotpolar-searchpubmed-wrapperparametric-connectorrechtspraak-nlreactivexcomponent.jstrias-clientsamlify-wellsamlify-xanderslappforge-sdk-xmlsirixdbviisp-nodejs-auth-handlerweb_auto_codeceptjswebcenterjswhippixliffmergezcl-client@aappddeevv/dynamics-client-ui@aigent/ringcentral-softphone@ampliflex/samlify@appium/universal-xml-plugin@dialogos/little@democracy-deutschland/scapacra@democracy-deutschland/scapacra-bt@tothal99/ringcentral-softphone@the-little-books/littleadaptive-expressionsblockly-flux-backbotframework-expressionsauto-dd-cc-heal@zalastax/nolb-_types_x@chasidic/scraper@chrimc62/adaptive-expressions@christopheranderson/botframework-expressions@corellia/ngx-translation-io@tenda.digital/webarchiver@fdmediagroep/fd-article-xml-json@fdmg/article-xml-json@i18n-support/i18nsupport-lib@icon-magic/distribute@novafex/cvg@ngx-i18nsupport/ngx-i18nsupport-lib@nypl/epub-to-webpub@lgreitis/viisp-nodejs-auth-handler@sedeh/wizard-query@seikho/samlify@sebak/test-express-saml2@simplyalec/ngx-i18nsupport-lib@infinitebrahmanuniverse/nolb-_types_x@iotize/device-admin.jscoe_code_autocheckstyle-filter-by-namedam-dcm-plugindocx-reporting
0.1.32

8 months ago

0.1.33

7 months ago

0.1.34

6 months ago

0.1.31

3 years ago

0.1.30

4 years ago

0.1.29

7 years ago

0.1.28

8 years ago

0.1.27

8 years ago

0.1.26-alpha

8 years ago

0.1.25-alpha

8 years ago

0.1.24-alpha

8 years ago

0.1.23-alpha

8 years ago

0.1.22-alpha

8 years ago

0.1.21-alpha

8 years ago

0.1.20-alpha

8 years ago

0.1.15-alpha

8 years ago

0.1.14-alpha

8 years ago