From f9417578ddeb2d911c5eae2c267442fcbcce67f4 Mon Sep 17 00:00:00 2001 From: Esteban Gonzalez <32603471+estebgonza@users.noreply.github.com> Date: Wed, 22 Feb 2023 12:19:05 +0100 Subject: [PATCH] TS Types: Extends the type of property that scripts/styles can takes (#4924) chore(types): Extends the type of property that scripts and styles can take --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index 27e5ddf6e..e61f292f2 100644 --- a/index.d.ts +++ b/index.d.ts @@ -406,8 +406,8 @@ declare namespace grapesjs { interface CanvasConfig { stylePrefix?: string; - scripts?: Array; - styles?: Array; + scripts?: Array>; + styles?: Array>; customBadgeLabel?: Function; autoscrollLimit?: number; notTextable?: Array;