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.
18 lines • 458 B
TypeScript
import Event from '../Event.js';
import type ICloseEventInit from './ICloseEventInit.js';
/**
*
*/
export default class CloseEvent extends Event {
readonly code: number;
readonly reason: string;
readonly wasClean: boolean;
/**
* Constructor.
*
* @param type Event type.
* @param [eventInit] Event init.
*/
constructor(type: string, eventInit?: ICloseEventInit | null);
}
//# sourceMappingURL=CloseEvent.d.ts.map