-
-
Notifications
You must be signed in to change notification settings - Fork 35.2k
Expose EventTarget and Event by default? #35495
Copy link
Copy link
Closed
Labels
eventtargetIssues and PRs related to the EventTarget implementation.Issues and PRs related to the EventTarget implementation.
Description
I think it might make sense to expose the EventTarget and Event classes on the global object. We usually do this in semver-major changes only, so it might make sense to do this in Node v15.0.0 with an exception from the @nodejs/tsc, so that these classes are available for features that we add.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
eventtargetIssues and PRs related to the EventTarget implementation.Issues and PRs related to the EventTarget implementation.