Skip to content

Commit

Permalink
fix(core/form): fix forgotten optional extension
Browse files Browse the repository at this point in the history
Regressed in 0902fa5
  • Loading branch information
skogsmaskin committed Dec 22, 2022
1 parent e229901 commit 24805ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/sanity/src/core/form/types/definitionExtensions.ts
Expand Up @@ -286,20 +286,20 @@ declare module '@sanity/types' {
/**
* @beta
*/
component: ComponentType<BlockDecoratorProps>
component?: ComponentType<BlockDecoratorProps>
}

export interface BlockStyleDefinition {
/**
* @beta
*/
component: ComponentType<BlockStyleProps>
component?: ComponentType<BlockStyleProps>
}
export interface BlockListDefinition {
/**
* @beta
*/
component: ComponentType<BlockListItemProps>
component?: ComponentType<BlockListItemProps>
}

export interface BlockAnnotationDefinition {
Expand Down

0 comments on commit 24805ae

Please sign in to comment.