|
|
|
@ -2191,26 +2191,25 @@
|
|
|
|
|
Type '{ icon: { src: Element; }; edit: ({ attributes, }: { attributes: { className: string; }; }) => Element; save: () => Element; }' is missing the following properties from type 'Pick<Block<{ className: string; }>, "title" | "category" | "attributes">': title, category, attributes" source="TS2769" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/blocks/cart/inner-blocks/cart-cross-sells-block/index.tsx">
|
|
|
|
|
<error line="13" column="20" severity="error" message="No overload matches this call.
|
|
|
|
|
<error line="12" column="1" severity="error" message="No overload matches this call.
|
|
|
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{}>, settings?: Partial<BlockConfiguration<{}>> | undefined): Block<{}> | undefined', gave the following error.
|
|
|
|
|
Argument of type '{ name: string; version: string; title: string; description: string; category: string; supports: { align: boolean; html: boolean; multiple: boolean; reusable: boolean; inserter: boolean; }; parent: string[]; textdomain: string; apiVersion: number; }' is not assignable to parameter of type 'BlockConfiguration<{}>'.
|
|
|
|
|
Property 'attributes' is missing in type '{ name: string; version: string; title: string; description: string; category: string; supports: { align: boolean; html: boolean; multiple: boolean; reusable: boolean; inserter: boolean; }; parent: string[]; textdomain: string; apiVersion: number; }' but required in type 'Pick<Block<{}>, "title" | "category" | "attributes">'.
|
|
|
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{}>'.
|
|
|
|
|
Type 'string' is not assignable to type 'Pick<Block<{}>, "title" | "category" | "attributes">'.
|
|
|
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{}>): Block<{}> | undefined', gave the following error.
|
|
|
|
|
Argument of type '{ name: string; version: string; title: string; description: string; category: string; supports: { align: boolean; html: boolean; multiple: boolean; reusable: boolean; inserter: boolean; }; parent: string[]; textdomain: string; apiVersion: number; }' is not assignable to parameter of type 'string'." source="TS2769" />
|
|
|
|
|
Argument of type '{ icon: { src: JSX.Element; }; edit: () => JSX.Element; save: () => JSX.Element; }' is not assignable to parameter of type 'BlockConfiguration<{}>'.
|
|
|
|
|
Type '{ icon: { src: Element; }; edit: () => Element; save: () => Element; }' is missing the following properties from type 'Pick<Block<{}>, "title" | "category" | "attributes">': title, category, attributes" source="TS2769" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/blocks/cart/cart-cross-sells-product-list/cart-cross-sells-product.tsx">
|
|
|
|
|
<error line="51" column="8" severity="error" message="Type '{}' is missing the following properties from type 'BlockAttributes': productId, align" source="TS2739" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/blocks/cart/inner-blocks/cart-cross-sells-products/index.tsx">
|
|
|
|
|
<error line="13" column="20" severity="error" message="No overload matches this call.
|
|
|
|
|
<error line="12" column="1" severity="error" message="No overload matches this call.
|
|
|
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ className?: string; columns: number; }>, settings?: Partial<BlockConfiguration<{ className?: string; columns: number; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
|
|
|
Argument of type '{ name: string; version: string; title: string; description: string; category: string; supports: { align: boolean; html: boolean; multiple: boolean; reusable: boolean; inserter: boolean; lock: boolean; }; attributes: { ...; }; parent: string[]; textdomain: string; apiVersion: number; }' is not assignable to parameter of type 'BlockConfiguration<{ className?: string; columns: number; }>'.
|
|
|
|
|
Type '{ name: string; version: string; title: string; description: string; category: string; supports: { align: boolean; html: boolean; multiple: boolean; reusable: boolean; inserter: boolean; lock: boolean; }; attributes: { ...; }; parent: string[]; textdomain: string; apiVersion: number; }' is not assignable to type 'Partial<Omit<Block<{ className?: string; columns: number; }>, "icon">>'.
|
|
|
|
|
The types of 'attributes.columns' are incompatible between these types.
|
|
|
|
|
Type '{ type: string; default: number; }' is not assignable to type 'BlockAttribute<number>'.
|
|
|
|
|
Type '{ type: string; default: number; }' is missing the following properties from type 'Query<number>': source, selector, query
|
|
|
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ className?: string; columns: number; }>'.
|
|
|
|
|
Type 'string' is not assignable to type 'Pick<Block<{ className?: string; columns: number; }>, "title" | "category" | "attributes">'.
|
|
|
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ className?: string; columns: number; }>): Block<{ className?: string; columns: number; }> | undefined', gave the following error.
|
|
|
|
|
Argument of type '{ name: string; version: string; title: string; description: string; category: string; supports: { align: boolean; html: boolean; multiple: boolean; reusable: boolean; inserter: boolean; lock: boolean; }; attributes: { ...; }; parent: string[]; textdomain: string; apiVersion: number; }' is not assignable to parameter of type 'string'." source="TS2769" />
|
|
|
|
|
Argument of type '{ icon: { src: JSX.Element; }; edit: ({ attributes, setAttributes }: Props) => JSX.Element; save: () => JSX.Element; }' is not assignable to parameter of type 'BlockConfiguration<{ className?: string; columns: number; }>'.
|
|
|
|
|
Type '{ icon: { src: Element; }; edit: ({ attributes, setAttributes }: Props) => Element; save: () => Element; }' is missing the following properties from type 'Pick<Block<{ className?: string; columns: number; }>, "title" | "category" | "attributes">': title, category, attributes" source="TS2769" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/blocks/cart/inner-blocks/cart-totals-block/index.tsx">
|
|
|
|
|
<error line="12" column="1" severity="error" message="No overload matches this call.
|
|
|
|
|