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 {