From 52977b5c0c98007ee890555ed58aaa8f9f47cc5a Mon Sep 17 00:00:00 2001 From: Elazar Kopyrin Date: Mon, 3 Jun 2024 22:18:08 +0300 Subject: [PATCH] Update `fill` and `stroke` GetSet type to accept `CanvasGradient` --- src/Shape.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Shape.ts b/src/Shape.ts index 8d5a27ff..de9ef070 100644 --- a/src/Shape.ts +++ b/src/Shape.ts @@ -766,7 +766,7 @@ export class Shape< dash: GetSet; dashEnabled: GetSet; dashOffset: GetSet; - fill: GetSet; + fill: GetSet; fillEnabled: GetSet; fillLinearGradientColorStops: GetSet, this>; fillLinearGradientStartPoint: GetSet; @@ -815,7 +815,7 @@ export class Shape< shadowOffsetY: GetSet; shadowOpacity: GetSet; shadowBlur: GetSet; - stroke: GetSet; + stroke: GetSet; strokeEnabled: GetSet; fillAfterStrokeEnabled: GetSet; strokeScaleEnabled: GetSet;