diff --git a/types/wordpress__block-editor/components/provider.d.ts b/types/wordpress__block-editor/components/provider.d.ts index e828a90b79..68beed41b7 100644 --- a/types/wordpress__block-editor/components/provider.d.ts +++ b/types/wordpress__block-editor/components/provider.d.ts @@ -1,7 +1,7 @@ import { BlockInstance } from '@wordpress/blocks'; import { ComponentType, ReactNode } from '@wordpress/element'; -import { EditorSettings } from '../'; +import { EditorSettings, EditorBlockListSettings } from '../'; declare namespace BlockEditorProvider { interface Props { @@ -35,7 +35,7 @@ declare namespace BlockEditorProvider { * except for the first. */ onInput?(blocks: BlockInstance[]): void; - settings?: Partial; + settings?: Partial; useSubRegistry?: boolean; /** * The current array of blocks. diff --git a/types/wordpress__block-editor/wordpress__block-editor-tests.tsx b/types/wordpress__block-editor/wordpress__block-editor-tests.tsx index 4d69e22be9..174c082a29 100644 --- a/types/wordpress__block-editor/wordpress__block-editor-tests.tsx +++ b/types/wordpress__block-editor/wordpress__block-editor-tests.tsx @@ -64,6 +64,13 @@ const STYLES = [{ css: '.foo { color: red; }' }, { css: '.bar { color: blue; }', ; ; +// +// BlockEditorProvider +// + +
+; + // // block-format-controls //