UNPKG

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.

31 lines 678 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * MimeType. */ class MimeType { /** * Constructor. * * @param description * @param enabledPlugin * @param suffixes * @param type */ constructor(description, enabledPlugin, suffixes, type) { this.description = description; this.enabledPlugin = enabledPlugin; this.suffixes = suffixes; this.type = type; } /** * Returns the object as a string. * * @returns String. */ toString() { return '[object MimeType]'; } } exports.default = MimeType; //# sourceMappingURL=MimeType.cjs.map