Misleading CanvasRenderingContext2D.drawImage signature #14592
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
Help Wanted
You can do this
Milestone
TypeScript Version: 2.2.1
Current
lib.dom.d.ts
signature w/o types:WHATWG HTML spec w/o types
The TS description matches the 9 parameter version of the Standard, but because they sneaked in the 4 additional parameters right after
image
, it doesn't fit the first two signatures.I would create a PR and split the signature into three, if that is acceptable?
The text was updated successfully, but these errors were encountered: