This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/linkedom/esm/interface/custom-event.js
T

20 lines
386 B
JavaScript

// https://dom.spec.whatwg.org/#interface-customevent
/* c8 ignore start */
// One day Node might have CustomEvent too
import {Event} from './event.js';
/**
* @implements globalThis.CustomEvent
*/
export class CustomEvent extends Event {
constructor(type, eventInitDict = {}) {
super(type, eventInitDict);
this.detail = eventInitDict.detail;
}
}
/* c8 ignore stop */