Skip to content

Commit

Permalink
Fix incorrect type
Browse files Browse the repository at this point in the history
Co-authored-by: Kai Hao <[email protected]>
  • Loading branch information
talldan and kevin940726 committed Feb 5, 2024
1 parent 5002235 commit 9da5905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/block/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function applyInitialContentValuesToInnerBlocks(
}

function getContentValuesFromInnerBlocks( blocks, defaultValues ) {
/** @type {Record<string, Record<string, unknown>>} */
/** @type {Record<string, { values: Record<string, unknown>> }} */
const content = {};
for ( const block of blocks ) {
Object.assign(
Expand Down

0 comments on commit 9da5905

Please sign in to comment.