From dc57a3807976b6e29b5be6ba5b1e9352c80f40e5 Mon Sep 17 00:00:00 2001 From: Ana Kasrashvili <91371368+KaoDeo@users.noreply.github.com> Date: Wed, 18 Jan 2023 11:49:43 +0400 Subject: [PATCH] Add missing colorPicker option properties in index.d.ts (#4849) Add colorPicker options properties in index.d.ts --- index.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/index.d.ts b/index.d.ts index d7034c33d..1eb21bfc8 100644 --- a/index.d.ts +++ b/index.d.ts @@ -34,6 +34,8 @@ declare namespace Backbone { declare namespace grapesjs { type PluginOptions = Record; + type AnyObject = Record; + type Plugin = (editor: Editor, config: T) => void; @@ -263,6 +265,11 @@ declare namespace grapesjs { layerManager?: LayerManagerConfig; parser?: ParserConfig; + /** + * Color picker options. + */ + colorPicker?: AnyObject; + pStylePrefix?: string; } interface AssetManagerConfig {