ImageData constructor signature is incorrect #4220
Labels
Breaking Change
Would introduce errors in existing code
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
lib.d.ts (and lib.webworkers.d.ts) define the ImageData constructor constructor as taking no arguments, but there should actually be two constructor signatures of the following form according to mdn:
The text was updated successfully, but these errors were encountered: