diff --git a/index.d.ts b/index.d.ts index a96cb158b..0f7e97a68 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1630,7 +1630,7 @@ declare namespace grapesjs { * }); * @param id - Block ID */ - add(id: string, block: BlockOptions): any; + add(id: string, block: BlockOptions, opts?: Record): any; /** * Get the block by id. * @example @@ -1660,7 +1660,7 @@ declare namespace grapesjs { * const block = blockManager.get('BLOCK_ID'); * blockManager.remove(block); */ - remove(block: object | string): any; + remove(block: object | string, opts?: Record): any; /** * Get all available categories. * It's possible to add categories only within blocks via 'add()' method