method _DOMEventTarget.addEventListener Usage in Denoimport { type _DOMEventTarget } from "node:events"; _DOMEventTarget.addEventListener(eventName: string,listener: (...args: any[]) => void,opts?: { once: boolean; },): any Parameters eventName: string listener: (...args: any[]) => void optional opts: { once: boolean; } Return Type any