Browse Source
Add missing colorPicker option properties in index.d.ts (#4849)
Add colorPicker options properties in index.d.ts
ts-components
Ana Kasrashvili
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
7 additions and
0 deletions
-
index.d.ts
|
|
|
@ -34,6 +34,8 @@ declare namespace Backbone { |
|
|
|
|
|
|
|
declare namespace grapesjs { |
|
|
|
type PluginOptions = Record<string, any>; |
|
|
|
type AnyObject = Record<string, any>; |
|
|
|
|
|
|
|
|
|
|
|
type Plugin<T extends PluginOptions = {}> = (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 { |
|
|
|
|