Skip to content

Commit

Permalink
Correctly type radii param
Browse files Browse the repository at this point in the history
  • Loading branch information
CPatchane committed Jan 2, 2024
1 parent 49e6e3e commit f6ccabb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ export class Context {
y: number,
width: number,
height: number,
radii: number
radii: number | DOMPointInit | (number | DOMPointInit)[]
) {
this._context.roundRect(x, y, width, height, radii);
}
Expand Down

0 comments on commit f6ccabb

Please sign in to comment.