rebase on oct-10-2023
This commit is contained in:
@@ -1982,7 +1982,7 @@
|
||||
<error line="174" column="35" severity="error" message="Argument of type 'unknown' is not assignable to parameter of type 'StoreAttributes[]'." source="TS2345" />
|
||||
<error line="182" column="35" severity="error" message="Parameter 'attribute' implicitly has an 'any' type." source="TS7006" />
|
||||
</file>
|
||||
<file name="assets/js/editor-components/block-title/index.js">
|
||||
<file name="assets/js/editor-components/block-title/index.tsx">
|
||||
<error line="15" column="2" severity="error" message="Binding element 'className' implicitly has an 'any' type." source="TS7031" />
|
||||
<error line="16" column="2" severity="error" message="Binding element 'headingLevel' implicitly has an 'any' type." source="TS7031" />
|
||||
<error line="17" column="2" severity="error" message="Binding element 'onChange' implicitly has an 'any' type." source="TS7031" />
|
||||
@@ -3038,7 +3038,7 @@
|
||||
<error line="55" column="6" severity="error" message="Type '{ selected: number[]; onChange: (value?: never[]) => void; }' is not assignable to type 'IntrinsicAttributes & { selected: number[]; }'.
|
||||
Property 'onChange' does not exist on type 'IntrinsicAttributes & { selected: number[]; }'." source="TS2322" />
|
||||
</file>
|
||||
<file name="assets/js/editor-components/grid-content-control/index.js">
|
||||
<file name="assets/js/editor-components/grid-content-control/index.tsx">
|
||||
<error line="16" column="10" severity="error" message="Property 'image' does not exist on type 'Object'." source="TS2339" />
|
||||
<error line="16" column="17" severity="error" message="Property 'button' does not exist on type 'Object'." source="TS2339" />
|
||||
<error line="16" column="25" severity="error" message="Property 'price' does not exist on type 'Object'." source="TS2339" />
|
||||
@@ -3328,12 +3328,12 @@
|
||||
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ columns: unknown; rows: unknown; alignButtons: unknown; categories: unknown; catOperator: unknown; contentVisibility: unknown; isPreview: unknown; stockStatus: unknown; editMode: unknown; orderby: unknown; }>): Block<...> | undefined', gave the following error.
|
||||
Argument of type '{ name: string; title: string; category: string; keywords: string[]; description: string; supports: { align: string[]; html: boolean; }; example: { attributes: { isPreview: boolean; }; }; attributes: { columns: { ...; }; ... 8 more ...; orderby: { ...; }; }; textdomain: string; apiVersion: number; $schema: string; }' is not assignable to parameter of type 'string'." source="TS2769" />
|
||||
</file>
|
||||
<file name="assets/js/blocks/product-new/block.js">
|
||||
<file name="assets/js/blocks/product-new/block.tsx">
|
||||
<error line="8" column="30" severity="error" message="Could not find a declaration file for module '@wordpress/server-side-render'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@wordpress/server-side-render/build/index.js' implicitly has an 'any' type.
|
||||
Try `npm i --save-dev @types/wordpress__server-side-render` if it exists or add a new declaration (.d.ts) file containing `declare module '@wordpress/server-side-render';`" source="TS7016" />
|
||||
<error line="82" column="20" severity="error" message="Parameter 'value' implicitly has an 'any[]' type." source="TS7006" />
|
||||
</file>
|
||||
<file name="assets/js/blocks/product-new/index.js">
|
||||
<file name="assets/js/blocks/product-new/index.tsx">
|
||||
<error line="17" column="1" severity="error" message="No overload matches this call.
|
||||
Overload 1 of 2, '(metadata: BlockConfiguration<{ columns: unknown; rows: unknown; alignButtons: unknown; categories: unknown; catOperator: unknown; contentVisibility: unknown; isPreview: unknown; stockStatus: unknown; }>, settings?: Partial<BlockConfiguration<{ columns: unknown; rows: unknown; ... 5 more ...; stockStatus: unknown; }>> | undefined): Block<...> | undefined', gave the following error.
|
||||
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ columns: unknown; rows: unknown; alignButtons: unknown; categories: unknown; catOperator: unknown; contentVisibility: unknown; isPreview: unknown; stockStatus: unknown; }>'.
|
||||
@@ -3370,12 +3370,12 @@
|
||||
<error line="118" column="6" severity="error" message="Type '{ label: string; onChange: (statusLabels: readonly Value[]) => void; suggestions: string[]; validateInput: (value: string) => boolean; value: string[]; __experimentalExpandOnFocus: boolean; }' is not assignable to type 'IntrinsicAttributes & Props & { children?: ReactNode; }'.
|
||||
Property 'label' does not exist on type 'IntrinsicAttributes & Props & { children?: ReactNode; }'." source="TS2322" />
|
||||
</file>
|
||||
<file name="assets/js/blocks/product-search/block.js">
|
||||
<file name="assets/js/blocks/product-search/block.tsx">
|
||||
<error line="38" column="37" severity="error" message="Type 'unknown' is not assignable to type 'string | undefined'." source="TS2322" />
|
||||
<error line="61" column="7" severity="error" message="Type '{ children: Element; type: "submit"; className: string; label: string; }' is not assignable to type 'DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>'.
|
||||
Property 'label' does not exist on type 'DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>'." source="TS2322" />
|
||||
</file>
|
||||
<file name="assets/js/blocks/product-search/edit.js">
|
||||
<file name="assets/js/blocks/product-search/edit.tsx">
|
||||
<error line="109" column="7" severity="error" message="Type 'string' is not assignable to type 'number'." source="TS2322" />
|
||||
<error line="149" column="32" severity="error" message="Argument of type '{ ({ attributes: { label, placeholder, formId, className, hasLabel, align }, instanceId, setAttributes, }: { attributes: { label: string; placeholder: string; formId: string; className: string; hasLabel: boolean; align: string; }; instanceId: string; setAttribute...' is not assignable to parameter of type 'ComponentType<{ attributes: { label: string; placeholder: string; formId: string; className: string; hasLabel: boolean; align: string; }; instanceId: string; setAttributes: (arg0: any) => any; }>'.
|
||||
Type '{ ({ attributes: { label, placeholder, formId, className, hasLabel, align }, instanceId, setAttributes, }: { attributes: { label: string; placeholder: string; formId: string; className: string; hasLabel: boolean; align: string; }; instanceId: string; setAttribute...' is not assignable to type 'FunctionComponent<{ attributes: { label: string; placeholder: string; formId: string; className: string; hasLabel: boolean; align: string; }; instanceId: string; setAttributes: (arg0: any) => any; }>'.
|
||||
@@ -3621,7 +3621,7 @@
|
||||
<error line="71" column="26" severity="error" message="Property 'instance' does not exist on type '{ showProductName: unknown; editMode: unknown; imageType: unknown; orderby: unknown; reviewsOnLoadMore: unknown; reviewsOnPageLoad: unknown; showLoadMore: unknown; showOrderby: unknown; showReviewDate: unknown; showReviewerName: unknown; showReviewImage: unknown; showReviewRating: unknown; showReviewContent: unknown...'." source="TS2339" />
|
||||
<error line="73" column="20" severity="error" message="Property 'instance' does not exist on type '{ showProductName: unknown; editMode: unknown; imageType: unknown; orderby: unknown; reviewsOnLoadMore: unknown; reviewsOnPageLoad: unknown; showLoadMore: unknown; showOrderby: unknown; showReviewDate: unknown; showReviewerName: unknown; showReviewImage: unknown; showReviewRating: unknown; showReviewContent: unknown...'." source="TS2339" />
|
||||
</file>
|
||||
<file name="assets/js/blocks/reviews/reviews-by-category/edit.js">
|
||||
<file name="assets/js/blocks/reviews/reviews-by-category/edit.tsx">
|
||||
<error line="41" column="10" severity="error" message="Property 'editMode' does not exist on type 'Object'." source="TS2339" />
|
||||
<error line="41" column="20" severity="error" message="Property 'categoryIds' does not exist on type 'Object'." source="TS2339" />
|
||||
<error line="51" column="29" severity="error" message="Property 'categoryIds' does not exist on type 'Object'." source="TS2339" />
|
||||
@@ -3632,7 +3632,7 @@
|
||||
<error line="124" column="20" severity="error" message="Parameter 'value' implicitly has an 'any[]' type." source="TS7006" />
|
||||
<error line="163" column="26" severity="error" message="Type '() => JSX.Element' is not assignable to type 'ReactElementLike'." source="TS2322" />
|
||||
</file>
|
||||
<file name="assets/js/blocks/reviews/reviews-by-category/index.js">
|
||||
<file name="assets/js/blocks/reviews/reviews-by-category/index.tsx">
|
||||
<error line="19" column="1" severity="error" message="No overload matches this call.
|
||||
Overload 1 of 2, '(metadata: BlockConfiguration<{ categoryIds: unknown; showProductName: unknown; editMode: unknown; imageType: unknown; orderby: unknown; reviewsOnLoadMore: unknown; reviewsOnPageLoad: unknown; showLoadMore: unknown; showOrderby: unknown; showReviewDate: unknown; showReviewerName: unknown; showReviewImage: unknown; showReviewRating: unknown; showReviewContent: unknown; previewReviews: unknown; }>, settings?: Partial<...> | undefined): Block<...> | undefined', gave the following error.
|
||||
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ categoryIds: unknown; showProductName: unknown; editMode: unknown; imageType: unknown; orderby: unknown; reviewsOnLoadMore: unknown; reviewsOnPageLoad: unknown; showLoadMore: unknown; showOrderby: unknown; showReviewDate: unknown; showReviewerName: unknown; showReviewImage: unknown; showReviewRa...'.
|
||||
|
||||
Reference in New Issue
Block a user