Types additions

This commit is contained in:
Evert Prants 2025-03-09 11:09:26 +02:00
parent da1c70ae6d
commit bfdb436390

4
types/context.d.ts vendored
View File

@ -64,8 +64,8 @@ export default class Context {
endAngle: number,
counterClockwise?: boolean
): any;
stroke(path2d): any;
fill(path2d): any;
stroke(path2d?: any): any;
fill(path2d?: any): any;
fillRect(x: number, y: number, width: number, height: number): any;
strokeRect(x: number, y: number, width: number, height: number): any;
clearRect(x: number, y: number, width: number, height: number): any;