From ac123fb151577d829f15137ff915b18e33003553 Mon Sep 17 00:00:00 2001 From: ykunytskyi Date: Mon, 26 Dec 2022 20:43:48 +0200 Subject: [PATCH] Fix for fill types rel:https://nhn.github.io/tui.image-editor/latest/ShapeFillOption --- apps/image-editor/index.d.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/image-editor/index.d.ts b/apps/image-editor/index.d.ts index ee26182c2..472ad98f4 100644 --- a/apps/image-editor/index.d.ts +++ b/apps/image-editor/index.d.ts @@ -190,9 +190,15 @@ declare namespace tuiImageEditor { rotatingPointOffset?: number; } + interface IShapeFillOption { + type: 'color' | 'filter' + filter?: Array> + color?: string + } + interface IObjectProps { // icon, shape - fill: string; + fill: string | IShapeFillOption; height: number; id: number; left: number;