Skip to content

focusin/focusout events missing in lib.dom.d.ts #30716

@SetTrend

Description

@SetTrend

In contrast to issue #21822, focusin and focusout are missing as event types for element.addEventListener().

TypeScript Version: 3.3.4000

Search Terms:

focusin focusout

Code

image

image

Expected behavior:

Both, focusin and focusout, should be available, taking an FocusEvent as their parameter.

Actual behavior:

Both, focusin and focusout, are unknown to TypeScript.

Related Issues:

#21822

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScript

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions