diff --git a/types/wordpress__block-editor/components/color-palette/with-color-context.d.ts b/types/wordpress__block-editor/components/color-palette/with-color-context.d.ts index 4012eba331..d22231c188 100644 --- a/types/wordpress__block-editor/components/color-palette/with-color-context.d.ts +++ b/types/wordpress__block-editor/components/color-palette/with-color-context.d.ts @@ -14,8 +14,8 @@ declare namespace withColorContext { // prettier-ignore declare function withColorContext< ProvidedProps extends Partial, - OwnProps extends any, - T extends ComponentType + OwnProps extends any = any, + T extends ComponentType = ComponentType >(component: T): T extends ComponentType ? ComponentType< Omit &