From bfdb436390a43e735c226e1f0bbc054a3247238f Mon Sep 17 00:00:00 2001 From: Evert Prants Date: Sun, 9 Mar 2025 11:09:26 +0200 Subject: [PATCH] Types additions --- types/context.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/context.d.ts b/types/context.d.ts index a4cfe84..d878cac 100644 --- a/types/context.d.ts +++ b/types/context.d.ts @@ -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;