18 lines
453 B
TypeScript
18 lines
453 B
TypeScript
|
|
import Event from '../Event.js';
|
||
|
|
import 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
|