|
1361 | 1361 | <error line="20" column="3" severity="error" message="Type '{ textAlign: { type: string; }; productId: { type: string; default: number; }; isDescendentOfQueryLoop: { type: string; default: boolean; }; }' is not assignable to type '{ productId: { type: string; default: number; }; isDescendentOfQueryLoop: { type: string; default: boolean; }; }'. |
1362 | 1362 | Object literal may only specify known properties, and 'textAlign' does not exist in type '{ productId: { type: string; default: number; }; isDescendentOfQueryLoop: { type: string; default: boolean; }; }'." source="TS2322" /> |
1363 | 1363 | </file> |
1364 | | -<file name="assets/js/atomic/blocks/product-elements/price/index.js"> |
1365 | | -<error line="53" column="1" severity="error" message="No overload matches this call. |
1366 | | - Overload 1 of 2, '(metadata: BlockConfiguration<{}>, settings?: Partial<BlockConfiguration<{}>> | undefined): Block<{}> | undefined', gave the following error. |
1367 | | - Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{}>'. |
1368 | | - Type 'string' is not assignable to type 'Pick<Block<{}>, "title" | "category" | "attributes">'. |
1369 | | - Overload 2 of 2, '(name: string, settings: BlockConfiguration<{}>): Block<{}> | undefined', gave the following error. |
1370 | | - Argument of type '{ apiVersion: number; title: string; description: string; ancestor: string[]; usesContext: string[]; icon: { src: JSX.Element; }; attributes: { productId: { type: string; default: number; }; isDescendentOfQueryLoop: { ...; }; }; ... 19 more ...; merge?: ((attributes: {}, attributesToMerge: {}) => Partial<...>) | und...' is not assignable to parameter of type 'BlockConfiguration<{}>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties. |
1371 | | - Type '{ apiVersion: number; title: string; description: string; ancestor: string[]; usesContext: string[]; icon: { src: JSX.Element; }; attributes: { productId: { type: string; default: number; }; isDescendentOfQueryLoop: { ...; }; }; ... 19 more ...; merge?: ((attributes: {}, attributesToMerge: {}) => Partial<...>) | und...' is not assignable to type 'Partial<Omit<Block<{}>, "icon">>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties. |
1372 | | - The types of 'supports.color' are incompatible between these types. |
1373 | | - Type 'Partial<ColorProps> | { text: boolean; background: boolean; link: boolean; __experimentalSkipSerialization: boolean; } | undefined' is not assignable to type 'Partial<ColorProps> | undefined'. |
1374 | | - Type '{ text: boolean; background: boolean; link: boolean; __experimentalSkipSerialization: boolean; }' is not assignable to type 'Partial<ColorProps>'. |
1375 | | - Types of property 'text' are incompatible. |
1376 | | - Type 'boolean' is not assignable to type 'string'." source="TS2769" /> |
1377 | | -</file> |
1378 | 1364 | <file name="assets/js/atomic/blocks/product-elements/image/edit.js"> |
1379 | 1365 | <error line="14" column="2" severity="error" message="Module '"@wordpress/components"' has no exported member '__experimentalToggleGroupControl'." source="TS2305" /> |
1380 | 1366 | <error line="16" column="2" severity="error" message="Module '"@wordpress/components"' has no exported member '__experimentalToggleGroupControlOption'." source="TS2305" /> |
|
1399 | 1385 | Property 'context' is missing in type 'BlockEditProps<{}> & { children?: ReactNode; }' but required in type '{ attributes: any; setAttributes: any; context: any; }'." source="TS2769" /> |
1400 | 1386 | </file> |
1401 | 1387 | <file name="assets/js/atomic/blocks/product-elements/rating/index.ts"> |
1402 | | -<error line="32" column="2" severity="error" message="Type '{ __experimentalSelector?: string; spacing?: { margin: boolean; __experimentalSkipSerialization: boolean; }; color?: { text: boolean; background: boolean; link: boolean; __experimentalSkipSerialization: boolean; }; typography?: { ...; }; }' is not assignable to type 'BlockSupports'. |
1403 | | - The types of 'color.text' are incompatible between these types. |
1404 | | - Type 'boolean' is not assignable to type 'string'." source="TS2322" /> |
| 1388 | +<error line="25" column="2" severity="error" message="Type '{ apiVersion: number; title: string; description: string; usesContext: string[]; ancestor: string[]; icon: { src: JSX.Element; }; attributes: { productId: { type: string; default: number; }; isDescendentOfQueryLoop: { ...; }; }; supports: { ...; }; edit: (props: any) => JSX.Element; }' is not assignable to type 'BlockConfiguration<{}>'. |
| 1389 | + Object literal may only specify known properties, and 'ancestor' does not exist in type 'BlockConfiguration<{}>'." source="TS2322" /> |
1405 | 1390 | </file> |
1406 | 1391 | <file name="assets/js/atomic/blocks/product-elements/button/edit.js"> |
1407 | 1392 | <error line="13" column="18" severity="error" message="Binding element 'attributes' implicitly has an 'any' type." source="TS7031" /> |
|
1442 | 1427 | Type 'Readonly<{}>' is not assignable to type 'Record<string, unknown> & { className: string; }'. |
1443 | 1428 | Property 'className' is missing in type 'Readonly<{}>' but required in type '{ className: string; }'." source="TS2322" /> |
1444 | 1429 | </file> |
1445 | | -<file name="assets/js/atomic/blocks/product-elements/tag-list/index.ts"> |
1446 | | -<error line="28" column="2" severity="error" message="Type '{ color?: { text: boolean; background: boolean; link: boolean; }; typography?: { fontSize: boolean; }; __experimentalSelector?: string; }' is not assignable to type 'BlockSupports'. |
1447 | | - The types of 'color.text' are incompatible between these types. |
1448 | | - Type 'boolean' is not assignable to type 'string'." source="TS2322" /> |
1449 | | -</file> |
1450 | 1430 | <file name="assets/js/atomic/blocks/product-elements/stock-indicator/edit.js"> |
1451 | 1431 | <error line="15" column="18" severity="error" message="Binding element 'attributes' implicitly has an 'any' type." source="TS7031" /> |
1452 | 1432 | </file> |
|
1541 | 1521 | Type 'Element | undefined' is not assignable to type 'Element'. |
1542 | 1522 | Type 'undefined' is not assignable to type 'Element'." source="TS2375" /> |
1543 | 1523 | </file> |
1544 | | -<file name="assets/js/base/components/cart-checkout/product-details/index.tsx"> |
1545 | | -<error line="36" column="14" severity="error" message="Property 'className' does not exist on type 'ProductResponseItemData'. |
1546 | | - Property 'className' does not exist on type 'ProductResponseItemBaseData & { key: string; name?: never; }'." source="TS2339" /> |
1547 | | -</file> |
1548 | 1524 | <file name="assets/js/base/components/cart-checkout/product-summary/index.tsx"> |
1549 | 1525 | <error line="32" column="4" severity="error" message="Type '{ className: string | undefined; source: string; maxLength: number; countType: WordCountType; }' is not assignable to type 'SummaryProps' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties. |
1550 | 1526 | Types of property 'className' are incompatible. |
|
3465 | 3441 | Types of property 'columns' are incompatible. |
3466 | 3442 | Type '{ type: string; default: any; }' is not assignable to type 'BlockAttribute<unknown>'." source="TS2769" /> |
3467 | 3443 | </file> |
3468 | | -<file name="assets/js/blocks/product-query/constants.ts"> |
3469 | | -<error line="71" column="4" severity="error" message="Type '[string]' is not assignable to type 'InnerBlockTemplate'. |
3470 | | - Source has 1 element(s) but target requires 3." source="TS2322" /> |
3471 | | -<error line="82" column="2" severity="error" message="Type '[string]' is not assignable to type 'InnerBlockTemplate'." source="TS2322" /> |
3472 | | -<error line="83" column="2" severity="error" message="Type '[string]' is not assignable to type 'InnerBlockTemplate'." source="TS2322" /> |
3473 | | -</file> |
3474 | 3444 | <file name="assets/js/blocks/product-query/utils.tsx"> |
3475 | 3445 | <error line="5" column="10" severity="error" message="Module '"@wordpress/blocks"' has no exported member 'store'." source="TS2305" /> |
3476 | 3446 | <error line="74" column="30" severity="error" message="Property 'getActiveBlockVariation' does not exist on type 'typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@types/wordpress__rich-text/store/selectors")'." source="TS2339" /> |
|
0 commit comments