Incorrect signature of ErrorEvent constructor #12644
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Fixed
A PR has been merged for this issue
Milestone
TypeScript Version: 2.1.1 / nightly (2.2.0-dev.201xxxxx)
Expected behavior:
ErrorEvent constructor should have params accorditng to the spec
https://html.spec.whatwg.org/multipage/webappapis.html#the-errorevent-interface
Actual behavior:
In lb.d.ts https://github.com/Microsoft/TypeScript/blob/master/lib/lib.d.ts#L7903
ErrorEvent constructor doesn't have any params.
The text was updated successfully, but these errors were encountered: