Correctly type radii param

This commit is contained in:
CPatchane 2024-01-02 21:13:32 +01:00
parent 49e6e3e824
commit f6ccabb34a

View File

@ -597,7 +597,7 @@ export class Context {
y: number, y: number,
width: number, width: number,
height: number, height: number,
radii: number radii: number | DOMPointInit | (number | DOMPointInit)[]
) { ) {
this._context.roundRect(x, y, width, height, radii); this._context.roundRect(x, y, width, height, radii);
} }