Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
codyebberson committed Sep 29, 2023
1 parent b20cfef commit 2a927ad
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions externs/browser/html5.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,16 @@ CanvasPathMethods.prototype.arcTo = function(x1, y1, x2, y2, radius) {};
*/
CanvasPathMethods.prototype.rect = function(x, y, w, h) {};

/**
* @param {number} x
* @param {number} y
* @param {number} w
* @param {number} h
* @param {(number|DOMPointInit|Array<number|DOMPointInit>)=} radii
* @return {undefined}
*/
CanvasPathMethods.prototype.roundRect = function(x, y, w, h, radii) {};

/**
* @param {number} x
* @param {number} y
Expand Down Expand Up @@ -367,7 +377,7 @@ Path2D.prototype.rect = function(x, y, w, h) {};
* @param {number} y
* @param {number} w
* @param {number} h
* @param {(number|DOMPointInit|Array<DOMPointInit>)=} radii
* @param {(number|DOMPointInit|Array<number|DOMPointInit>)=} radii
* @return {undefined}
* @override
*/
Expand Down Expand Up @@ -676,8 +686,9 @@ BaseRenderingContext2D.prototype.rect = function(x, y, w, h) {};
* @param {number} y
* @param {number} w
* @param {number} h
* @param {number|DOMPointInit|Array<DOMPointInit>} radii
* @param {(number|DOMPointInit|Array<number|DOMPointInit>)=} radii
* @return {undefined}
* @override
*/
BaseRenderingContext2D.prototype.roundRect = function(x, y, w, h, radii) {};

Expand Down

0 comments on commit 2a927ad

Please sign in to comment.