|
|
|
@ -240,16 +240,11 @@
|
|
|
|
|
Argument of type 'string | BlockConfiguration<{}>' is not assignable to parameter of type 'string'.
|
|
|
|
|
Type 'BlockConfiguration<{}>' is not assignable to type 'string'." source="TS2769" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="packages/prices/utils/price.ts">
|
|
|
|
|
<error line="52" column="8" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
|
|
|
<error line="53" column="10" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
|
|
|
<error line="54" column="21" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
|
|
|
<error line="55" column="20" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
|
|
|
<error line="56" column="13" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
|
|
|
<error line="58" column="3" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
|
|
|
<error line="59" column="3" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
|
|
|
<error line="62" column="3" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
|
|
|
<error line="63" column="3" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
|
|
|
<file name="assets/js/base/components/formatted-monetary-amount/index.tsx">
|
|
|
|
|
<error line="75" column="35" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
|
|
|
<error line="88" column="30" severity="error" message="Argument of type 'Currency | Record<string, never> | undefined' is not assignable to parameter of type 'Currency | Record<string, never>'.
|
|
|
|
|
Type 'undefined' is not assignable to type 'Currency | Record<string, never>'." source="TS2345" />
|
|
|
|
|
<error line="97" column="50" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="packages/prices/utils/index.js">
|
|
|
|
|
<error line="1" column="15" severity="error" message="File '/home/runner/work/woocommerce-blocks/woocommerce-blocks/packages/prices/utils/price.ts' is not listed within the file list of project '/home/runner/work/woocommerce-blocks/woocommerce-blocks/tsconfig.json'. Projects must list all files or use an 'include' pattern." source="TS6307" />
|
|
|
|
@ -266,7 +261,7 @@
|
|
|
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/packages/checkout/components/totals/taxes/index.tsx'
|
|
|
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/packages/checkout/components/totals/fees/index.tsx'
|
|
|
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/base/components/product-price/index.tsx'
|
|
|
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/atomic/blocks/product-elements/price/block.js'
|
|
|
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/atomic/blocks/product-elements/price/block.tsx'
|
|
|
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/base/context/hooks/payment-methods/use-payment-method-interface.ts'
|
|
|
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/base/components/cart-checkout/order-summary/order-summary-item.tsx'
|
|
|
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/base/components/cart-checkout/product-sale-badge/index.tsx'
|
|
|
|
@ -584,6 +579,15 @@
|
|
|
|
|
<error line="4" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
|
|
|
<error line="13" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/base/components/block-error-boundary/index.tsx">
|
|
|
|
|
<error line="58" column="6" severity="error" message="Type '{ showErrorBlock: boolean; errorMessage: string | null; header: string | undefined; imageUrl: string | undefined; text: ReactNode; errorMessagePrefix: string | undefined; button: ReactNode; }' is not assignable to type 'BlockErrorProps' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
|
|
|
|
Types of property 'imageUrl' are incompatible.
|
|
|
|
|
Type 'string | undefined' is not assignable to type 'string'.
|
|
|
|
|
Type 'undefined' is not assignable to type 'string'." source="TS2375" />
|
|
|
|
|
<error line="58" column="6" severity="error" message="'BlockError' cannot be used as a JSX component.
|
|
|
|
|
Its return type 'ReactNode' is not a valid JSX element.
|
|
|
|
|
Type 'undefined' is not assignable to type 'Element | null'." source="TS2786" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/base/utils/render-frontend.tsx">
|
|
|
|
|
<error line="60" column="4" severity="error" message="No overload matches this call.
|
|
|
|
|
Overload 1 of 2, '(props: BlockErrorBoundaryProps | Readonly<BlockErrorBoundaryProps>): BlockErrorBoundary', gave the following error.
|
|
|
|
@ -636,22 +640,6 @@
|
|
|
|
|
<file name="assets/js/data/cart/controls.js">
|
|
|
|
|
<error line="18" column="31" severity="error" message="Parameter 'preserveCartData' implicitly has an 'any' type." source="TS7006" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/data/checkout/thunks.ts">
|
|
|
|
|
<error line="5" column="10" severity="error" message="Module '"@wordpress/notices"' has no exported member 'store'." source="TS2305" />
|
|
|
|
|
<error line="57" column="11" severity="error" message="Property 'createErrorNotice' does not exist on type 'typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@types/wordpress__rich-text/store/actions")'." source="TS2339" />
|
|
|
|
|
<error line="92" column="12" severity="error" message="Property 'createErrorNotice' does not exist on type 'typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@types/wordpress__rich-text/store/actions")'." source="TS2339" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/data/checkout/reducers.ts">
|
|
|
|
|
<error line="164" column="25" severity="error" message="Property 'SET_PRISTINE' does not exist on type '{ readonly SET_IDLE: "SET_IDLE"; readonly SET_REDIRECT_URL: "SET_REDIRECT_URL"; readonly SET_COMPLETE: "SET_CHECKOUT_COMPLETE"; readonly SET_BEFORE_PROCESSING: "SET_BEFORE_PROCESSING"; ... 11 more ...; readonly SET_IS_CART: "SET_IS_CART"; }'." source="TS2339" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/data/checkout/index.ts">
|
|
|
|
|
<error line="21" column="44" severity="error" message="Argument of type '{ reducer: (state: CheckoutState | undefined, action: actions.CheckoutAction) => CheckoutState; selectors: typeof selectors; actions: typeof actions; }' is not assignable to parameter of type 'StoreConfig<CheckoutState>'.
|
|
|
|
|
Types of property 'actions' are incompatible.
|
|
|
|
|
Type 'typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/data/checkout/actions")' is not assignable to type '{ [k: string]: (...args: readonly any[]) => AnyAction | Generator<any, any, unknown>; }'.
|
|
|
|
|
Property '__internalProcessCheckoutResponse' is incompatible with index signature.
|
|
|
|
|
Type '(response: CheckoutResponse) => ({ dispatch, }: { dispatch: DispatchFromMap<typeof actions>; }) => void' is not assignable to type '(...args: readonly any[]) => AnyAction | Generator<any, any, unknown>'.
|
|
|
|
|
Type '({ dispatch, }: { dispatch: DispatchFromMap<typeof actions>; }) => void' is not assignable to type 'AnyAction | Generator<any, any, unknown>'." source="TS2345" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/previews/cart.ts">
|
|
|
|
|
<error line="75" column="4" severity="error" message="Property 'price_range' is missing in type '{ currency_code: "USD"; currency_symbol: string; currency_minor_unit: number; currency_decimal_separator: string; currency_thousand_separator: string; currency_prefix: string; currency_suffix: string; price: string; regular_price: string; sale_price: string; raw_prices: { ...; }; }' but required in type 'CartItemPrices'." source="TS2741" />
|
|
|
|
|
<error line="141" column="4" severity="error" message="Property 'price_range' is missing in type '{ currency_code: "USD"; currency_symbol: string; currency_minor_unit: number; currency_decimal_separator: string; currency_thousand_separator: string; currency_prefix: string; currency_suffix: string; price: string; regular_price: string; sale_price: string; raw_prices: { ...; }; }' but required in type 'CartItemPrices'." source="TS2741" />
|
|
|
|
@ -699,15 +687,31 @@
|
|
|
|
|
<error line="120" column="41" severity="error" message="Property 'validationErrors' does not exist on type 'never'." source="TS2339" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/data/payment/actions.ts">
|
|
|
|
|
<error line="51" column="19" severity="error" message="Binding element 'select' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
|
<error line="51" column="27" severity="error" message="Binding element 'dispatch' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
|
<error line="122" column="19" severity="error" message="Binding element 'dispatch' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
|
<error line="122" column="29" severity="error" message="Binding element 'select' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
|
<error line="170" column="19" severity="error" message="Binding element 'select' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
|
<error line="170" column="27" severity="error" message="Binding element 'dispatch' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
|
<error line="52" column="19" severity="error" message="Binding element 'select' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
|
<error line="52" column="27" severity="error" message="Binding element 'dispatch' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
|
<error line="133" column="19" severity="error" message="Binding element 'dispatch' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
|
<error line="133" column="29" severity="error" message="Binding element 'select' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
|
<error line="181" column="19" severity="error" message="Binding element 'select' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
|
<error line="181" column="27" severity="error" message="Binding element 'dispatch' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/data/checkout/thunks.ts">
|
|
|
|
|
<error line="5" column="10" severity="error" message="Module '"@wordpress/notices"' has no exported member 'store'." source="TS2305" />
|
|
|
|
|
<error line="63" column="11" severity="error" message="Property 'createErrorNotice' does not exist on type 'typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@types/wordpress__rich-text/store/actions")'." source="TS2339" />
|
|
|
|
|
<error line="98" column="12" severity="error" message="Property 'createErrorNotice' does not exist on type 'typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@types/wordpress__rich-text/store/actions")'." source="TS2339" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/data/checkout/reducers.ts">
|
|
|
|
|
<error line="152" column="25" severity="error" message="Property 'SET_PRISTINE' does not exist on type '{ readonly SET_IDLE: "SET_IDLE"; readonly SET_REDIRECT_URL: "SET_REDIRECT_URL"; readonly SET_COMPLETE: "SET_CHECKOUT_COMPLETE"; readonly SET_BEFORE_PROCESSING: "SET_BEFORE_PROCESSING"; ... 10 more ...; readonly SET_IS_CART: "SET_IS_CART"; }'." source="TS2339" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/data/checkout/index.ts">
|
|
|
|
|
<error line="21" column="44" severity="error" message="Argument of type '{ reducer: (state: CheckoutState | undefined, action: actions.CheckoutAction) => CheckoutState; selectors: typeof selectors; actions: typeof actions; }' is not assignable to parameter of type 'StoreConfig<CheckoutState>'.
|
|
|
|
|
Types of property 'actions' are incompatible.
|
|
|
|
|
Type 'typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/data/checkout/actions")' is not assignable to type '{ [k: string]: (...args: readonly any[]) => AnyAction | Generator<any, any, unknown>; }'.
|
|
|
|
|
Property '__internalProcessCheckoutResponse' is incompatible with index signature.
|
|
|
|
|
Type '(response: CheckoutResponse) => ({ dispatch, }: { dispatch: DispatchFromMap<typeof actions>; }) => void' is not assignable to type '(...args: readonly any[]) => AnyAction | Generator<any, any, unknown>'.
|
|
|
|
|
Type '({ dispatch, }: { dispatch: DispatchFromMap<typeof actions>; }) => void' is not assignable to type 'AnyAction | Generator<any, any, unknown>'." source="TS2345" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/data/payment/index.ts">
|
|
|
|
|
<error line="25" column="44" severity="error" message="Argument of type '{ reducer: Reducer<PaymentMethodDataState, AnyAction>; selectors: typeof selectors; actions: typeof actions; controls: any; }' is not assignable to parameter of type 'StoreConfig<PaymentMethodDataState>'.
|
|
|
|
|
<error line="25" column="44" severity="error" message="Argument of type '{ reducer: Reducer<PaymentState, AnyAction>; selectors: typeof selectors; actions: typeof actions; controls: any; }' is not assignable to parameter of type 'StoreConfig<PaymentState>'.
|
|
|
|
|
Types of property 'actions' are incompatible.
|
|
|
|
|
Type 'typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/data/payment/actions")' is not assignable to type '{ [k: string]: (...args: readonly any[]) => AnyAction | Generator<any, any, unknown>; }'.
|
|
|
|
|
Property '__internalUpdateAvailablePaymentMethods' is incompatible with index signature.
|
|
|
|
@ -761,18 +765,8 @@
|
|
|
|
|
No index signature with a parameter of type 'string' was found on type 'Object'." source="TS7053" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/base/components/product-price/index.tsx">
|
|
|
|
|
<error line="285" column="5" severity="error" message="Type '{ currency: Currency | Record<string, never>; price: string | number; priceClassName: string | undefined; priceStyle: CSSProperties | undefined; regularPrice: string | number; regularPriceClassName: string | undefined; regularPriceStyle: CSSProperties | undefined; }' is not assignable to type 'SalePriceProps' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
|
|
|
|
Types of property 'regularPriceClassName' are incompatible.
|
|
|
|
|
Type 'string | undefined' is not assignable to type 'string'.
|
|
|
|
|
Type 'undefined' is not assignable to type 'string'." source="TS2375" />
|
|
|
|
|
<error line="297" column="5" severity="error" message="Type '{ currency: Currency | Record<string, never>; maxPrice: string | number; minPrice: string | number; priceClassName: string | undefined; priceStyle: CSSProperties | undefined; }' is not assignable to type 'PriceRangeProps' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
|
|
|
|
Types of property 'priceClassName' are incompatible.
|
|
|
|
|
Type 'string | undefined' is not assignable to type 'string'.
|
|
|
|
|
Type 'undefined' is not assignable to type 'string'." source="TS2375" />
|
|
|
|
|
<error line="307" column="5" severity="error" message="Type '{ className: string; currency: Currency | Record<string, never>; value: string | number; style: CSSProperties | undefined; }' is not assignable to type 'FormattedMonetaryAmountProps' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
|
|
|
|
Types of property 'style' are incompatible.
|
|
|
|
|
Type 'CSSProperties | undefined' is not assignable to type 'CSSProperties'.
|
|
|
|
|
Type 'undefined' is not assignable to type 'Properties<string | number, string & {}>'." source="TS2375" />
|
|
|
|
|
<error line="173" column="5" severity="error" message="Type 'string | number | undefined' is not assignable to type 'string | number'.
|
|
|
|
|
Type 'undefined' is not assignable to type 'string | number'." source="TS2322" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/shared/context/inner-block-layout-context.js">
|
|
|
|
|
<error line="26" column="2" severity="error" message="Binding element 'children' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
@ -1100,10 +1094,6 @@
|
|
|
|
|
<error line="12" column="27" severity="error" message="Parameter 'OriginalComponent' implicitly has an 'any' type." source="TS7006" />
|
|
|
|
|
<error line="13" column="12" severity="error" message="Parameter 'ownProps' implicitly has an 'any' type." source="TS7006" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/atomic/blocks/product-elements/price/block.js">
|
|
|
|
|
<error line="52" column="18" severity="error" message="Type 'string | undefined' is not assignable to type '"center" | "left" | "right" | undefined' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target." source="TS2412" />
|
|
|
|
|
<error line="66" column="4" severity="error" message="Type 'string | undefined' is not assignable to type '"center" | "left" | "right" | undefined' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target." source="TS2412" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/atomic/blocks/product-elements/button/block.js">
|
|
|
|
|
<error line="100" column="3" severity="error" message="Property 'id' does not exist on type 'Object | undefined'." source="TS2339" />
|
|
|
|
|
<error line="101" column="3" severity="error" message="Property 'permalink' does not exist on type 'Object | undefined'." source="TS2339" />
|
|
|
|
@ -1316,14 +1306,9 @@
|
|
|
|
|
Type '{ text: true; background: true; link: false; gradients: true; __experimentalSkipSerialization: true; }' is not assignable to type 'Partial<ColorProps>'.
|
|
|
|
|
Object literal may only specify known properties, and '__experimentalSkipSerialization' does not exist in type 'Partial<ColorProps>'." source="TS2322" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/atomic/blocks/product-elements/price/edit.js">
|
|
|
|
|
<error line="20" column="23" severity="error" message="Binding element 'attributes' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
|
<error line="20" column="35" severity="error" message="Binding element 'setAttributes' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
|
<error line="20" column="50" severity="error" message="Binding element 'context' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/atomic/blocks/product-elements/price/attributes.js">
|
|
|
|
|
<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; }; }'.
|
|
|
|
|
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" />
|
|
|
|
|
<file name="assets/js/atomic/blocks/product-elements/rating/index.ts">
|
|
|
|
|
<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<{}>'.
|
|
|
|
|
Object literal may only specify known properties, and 'ancestor' does not exist in type 'BlockConfiguration<{}>'." source="TS2322" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/atomic/blocks/product-elements/button/edit.js">
|
|
|
|
|
<error line="13" column="18" severity="error" message="Binding element 'attributes' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
@ -1344,6 +1329,9 @@
|
|
|
|
|
Types of parameters '__0' and 'props' are incompatible.
|
|
|
|
|
Property 'context' is missing in type 'BlockEditProps<{}> & { children?: ReactNode; }' but required in type '{ attributes: any; setAttributes: any; context: any; }'." source="TS2769" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/editor-components/edit-product-link/index.js">
|
|
|
|
|
<error line="18" column="40" severity="error" message="Property 'productId' does not exist on type 'Object'." source="TS2339" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/atomic/blocks/product-elements/sku/index.ts">
|
|
|
|
|
<error line="25" column="2" severity="error" message="Type '{ apiVersion: number; title: string; description: string; icon: { src: JSX.Element; }; usesContext: string[]; ancestor: string[]; attributes: Record<string, Record<string, unknown>>; edit: (props: any) => JSX.Element; }' is not assignable to type 'BlockConfiguration<{}>'.
|
|
|
|
|
Object literal may only specify known properties, and 'ancestor' does not exist in type 'BlockConfiguration<{}>'." source="TS2322" />
|
|
|
|
@ -1361,11 +1349,24 @@
|
|
|
|
|
Type 'Readonly<{}>' is not assignable to type 'Record<string, unknown> & { className: string; }'.
|
|
|
|
|
Property 'className' is missing in type 'Readonly<{}>' but required in type '{ className: string; }'." source="TS2322" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/atomic/blocks/product-elements/add-to-cart/edit.js">
|
|
|
|
|
<error line="25" column="18" severity="error" message="Binding element 'attributes' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
|
<error line="25" column="30" severity="error" message="Binding element 'setAttributes' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
|
<error line="36" column="21" severity="error" message="Type '{ productId: number; }' is not assignable to type 'IntrinsicAttributes & Object'.
|
|
|
|
|
Property 'productId' does not exist on type 'IntrinsicAttributes & Object'." source="TS2322" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/atomic/blocks/product-elements/add-to-cart/product-types/variable/variation-attributes/test/index.js">
|
|
|
|
|
<error line="195" column="38" severity="error" message="Argument of type 'null' is not assignable to parameter of type 'Object'." source="TS2345" />
|
|
|
|
|
<error line="252" column="56" severity="error" message="Argument of type 'null' is not assignable to parameter of type 'Object'." source="TS2345" />
|
|
|
|
|
<error line="475" column="34" severity="error" message="Argument of type 'null' is not assignable to parameter of type 'Object | undefined'." source="TS2345" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/atomic/blocks/product-elements/image/test/block.test.tsx">
|
|
|
|
|
<error line="66" column="6" severity="error" message="Type '{ name: string; id: number; fallbackAlt: string; permalink: string; images: { id: number; src: string; thumbnail: string; srcset: string; sizes: string; name: string; alt: string; }[]; }' is missing the following properties from type 'ProductResponseItem': parent, type, variation, sku, and 18 more." source="TS2740" />
|
|
|
|
|
<error line="100" column="6" severity="error" message="Type '{ name: string; id: number; fallbackAlt: string; permalink: string; images: never[]; }' is missing the following properties from type 'ProductResponseItem': parent, type, variation, sku, and 18 more." source="TS2740" />
|
|
|
|
|
<error line="133" column="6" severity="error" message="Type '{ name: string; id: number; fallbackAlt: string; permalink: string; images: { id: number; src: string; thumbnail: string; srcset: string; sizes: string; name: string; alt: string; }[]; }' is not assignable to type 'ProductResponseItem'." source="TS2322" />
|
|
|
|
|
<error line="163" column="6" severity="error" message="Type '{ name: string; id: number; fallbackAlt: string; permalink: string; images: never[]; }' is not assignable to type 'ProductResponseItem'." source="TS2322" />
|
|
|
|
|
<error line="191" column="6" severity="error" message="Type '{ name: string; id: number; fallbackAlt: string; permalink: string; images: never[]; }' is not assignable to type 'ProductResponseItem'." source="TS2322" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/atomic/blocks/product-elements/title/test/block.test.js">
|
|
|
|
|
<error line="22" column="33" severity="error" message="Type '{ id: number; name: string; permalink: string; }' is missing the following properties from type 'ProductResponseItem': parent, type, variation, sku, and 19 more." source="TS2740" />
|
|
|
|
|
<error line="23" column="7" severity="error" message="Type '{ showProductLink: false; }' is missing the following properties from type 'Attributes': headingLevel, align" source="TS2739" />
|
|
|
|
@ -3688,17 +3689,27 @@
|
|
|
|
|
<error line="17" column="16" severity="error" message="Parameter 'value' implicitly has an 'any[]' type." source="TS7006" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/blocks/single-product/edit/layout-editor.tsx">
|
|
|
|
|
<error line="81" column="7" severity="error" message="Type '{}[][]' is not assignable to type 'readonly Template[]'.
|
|
|
|
|
<error line="89" column="7" severity="error" message="Type '{}[][]' is not assignable to type 'readonly Template[]'.
|
|
|
|
|
Type '{}[]' is not assignable to type 'Template'.
|
|
|
|
|
Target requires 1 element(s) but source may have fewer." source="TS2322" />
|
|
|
|
|
<error line="84" column="7" severity="error" message="Type 'false' is not assignable to type 'ComponentType<{}> | undefined'." source="TS2322" />
|
|
|
|
|
<error line="92" column="7" severity="error" message="Type 'false' is not assignable to type 'ComponentType<{}> | undefined'." source="TS2322" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/blocks/single-product/edit/index.tsx">
|
|
|
|
|
<error line="83" column="5" severity="error" message="No overload matches this call.
|
|
|
|
|
<error line="37" column="2" severity="error" message="Binding element 'className' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
|
<error line="38" column="2" severity="error" message="Binding element 'attributes' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
|
<error line="39" column="2" severity="error" message="Binding element 'setAttributes' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
|
<error line="40" column="2" severity="error" message="Binding element 'error' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
|
<error line="41" column="2" severity="error" message="Binding element 'getProduct' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
|
<error line="42" column="2" severity="error" message="Binding element 'product' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
|
<error line="43" column="2" severity="error" message="Binding element 'isLoading' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
|
<error line="44" column="2" severity="error" message="Binding element 'clientId' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
|
<error line="65" column="5" severity="error" message="No overload matches this call.
|
|
|
|
|
Overload 1 of 2, '(props: BlockErrorBoundaryProps | Readonly<BlockErrorBoundaryProps>): BlockErrorBoundary', gave the following error.
|
|
|
|
|
Property 'text' is missing in type '{ children: Element[]; header: string; }' but required in type 'Readonly<BlockErrorBoundaryProps>'.
|
|
|
|
|
Overload 2 of 2, '(props: BlockErrorBoundaryProps, context: any): BlockErrorBoundary', gave the following error.
|
|
|
|
|
Property 'text' is missing in type '{ children: Element[]; header: string; }' but required in type 'Readonly<BlockErrorBoundaryProps>'." source="TS2769" />
|
|
|
|
|
<error line="113" column="24" severity="error" message="Type '{ productId: any; }' is not assignable to type 'IntrinsicAttributes & Object'.
|
|
|
|
|
Property 'productId' does not exist on type 'IntrinsicAttributes & Object'." source="TS2322" />
|
|
|
|
|
</file>
|
|
|
|
|
<file name="assets/js/blocks/single-product/save.js">
|
|
|
|
|
<error line="7" column="18" severity="error" message="Binding element 'attributes' implicitly has an 'any' type." source="TS7031" />
|
|
|
|
|