diff --git a/packages/block-editor/src/components/list-view/utils.js b/packages/block-editor/src/components/list-view/utils.js index 3e596ca5015465..c91376b0472116 100644 --- a/packages/block-editor/src/components/list-view/utils.js +++ b/packages/block-editor/src/components/list-view/utils.js @@ -63,8 +63,8 @@ export function getCommonDepthClientIds( * * @typedef {import('@wordpress/element').RefObject} RefObject * - * @param {string} focusClientId The client ID of the block to focus. - * @param {HTMLElement} treeGridElement The container element to search within. + * @param {string} focusClientId The client ID of the block to focus. + * @param {?HTMLElement} treeGridElement The container element to search within. */ export function focusListItem( focusClientId, treeGridElement ) { const getFocusElement = () => {