happy-dom
Version:
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.
15 lines (12 loc) • 531 B
text/typescript
import type HTMLCanvasElement from '../nodes/html-canvas-element/HTMLCanvasElement.js';
import type HTMLImageElement from '../nodes/html-image-element/HTMLImageElement.js';
import type HTMLVideoElement from '../nodes/html-video-element/HTMLVideoElement.js';
import type ImageBitmap from './ImageBitmap.js';
import type OffscreenCanvas from './OffscreenCanvas.js';
type TCanvasImage =
| HTMLCanvasElement
| OffscreenCanvas
| HTMLImageElement
| HTMLVideoElement
| ImageBitmap /* | VideoFrame */;
export type { TCanvasImage };