Skip to content

Commit

Permalink
Update types
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewserong committed Aug 13, 2021
1 parent 3eac45c commit 474e5fc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/block-editor/src/hooks/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function addAttribute( settings ) {
* with values providing the style paths to be omitted from serialization.
*
* @constant
* @type {Record<string,string[]>}
* @type {Record<string, string[]>}
*/
const skipSerializationPathsEdit = {
[ `${ BORDER_SUPPORT_KEY }.__experimentalSkipSerialization` ]: [ 'border' ],
Expand All @@ -174,7 +174,7 @@ const skipSerializationPathsEdit = {
* the support is saved.
*
* @constant
* @type {Record<string,string[]>}
* @type {Record<string, string[]>}
*/
const skipSerializationPathsSave = {
...skipSerializationPathsEdit,
Expand All @@ -184,10 +184,10 @@ const skipSerializationPathsSave = {
/**
* Override props assigned to save component to inject the CSS variables definition.
*
* @param {Object} props Additional props applied to save element.
* @param {Object} blockType Block type.
* @param {Object} attributes Block attributes.
* @param {Object} skipPaths An object of keys and paths to skip serialization.
* @param {Object} props Additional props applied to save element.
* @param {Object} blockType Block type.
* @param {Object} attributes Block attributes.
* @param {?Record<string, string[]>} skipPaths An object of keys and paths to skip serialization.
*
* @return {Object} Filtered props applied to save element.
*/
Expand Down

0 comments on commit 474e5fc

Please sign in to comment.