# Interface _DOMEventTarget

interface _DOMEventTarget {
addEventListener(eventName: string, listener: ((...args: any[]) => void), opts?: {
once: boolean;
}): any;
}

- Defined in node_modules/@types/node/events.d.ts:86

#####
Index

### Methods

addEventListener

##
Methods

### addEventListener

- addEventListener(eventName, listener, opts?): any

- #### Parameters

  - eventName: string
  - listener: ((...args: any[]) => void)
    - - (...args): void

      - #### Parameters

        - `Rest`...args: any[]

        #### Returns void

  - `Optional` opts: {
    once: boolean;
    }

    - ##### once: boolean

  #### Returns any

  - Defined in node_modules/@types/node/events.d.ts:87