@types/svgdom
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

Installation

npm install --save @types/svgdom

Summary

This package contains type definitions for svgdom (https://github.com/svgdotjs/svgdom#readme).

Details

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

index.d.ts

// Minimum TypeScript Version: 4.5

export function createSVGWindow(): SVGWindow;
export function createSVGDocument(): SVGDocument;

export function createWindow(): Window;
export function createDocument(): Document;

export function createHTMLWindow(): Window;
export function createHTMLDocument(): Document;

export interface SVGDocument extends Document {
    documentElement: HTMLElement & SVGSVGElement;
}

export interface SVGWindow extends Window {
    document: SVGDocument;
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Alan Norbauer.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/svgdom

Weekly Downloads

1,188

Version

0.1.2

License

MIT

Unpacked Size

3.5 kB

Total Files

5

Last publish

Collaborators

  • types