happy-dom-without-node
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.
28 lines • 587 B
JavaScript
/**
* MimeType.
*/
export default 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]';
}
}
//# sourceMappingURL=MimeType.js.map