Skip to content

EventListener interface does not accept objects with a handleEvent method #1224

Closed
@sccolbert

Description

@sccolbert

Issue from the old tracker:
https://typescript.codeplex.com/workitem/45

EventTarget.addEventListener accepts a function or an object implementing EventListener:
https://developer.mozilla.org/en-US/docs/Web/API/EventListener

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptRevisitAn issue worth coming back to

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions