4167 lines
682 KiB
XML
4167 lines
682 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<checkstyle version="4.3">
|
|
<file name="assets/js/global.d.ts">
|
|
<error line="2" column="13" severity="error" message="Cannot redeclare block-scoped variable '__webpack_public_path__'." source="TS2451" />
|
|
</file>
|
|
<file name="node_modules/@types/react/index.d.ts">
|
|
<error line="3077" column="19" severity="error" message="Interface 'ElementClass' cannot simultaneously extend types 'Component<any, {}, any>' and 'Component<any, {}, any>'.
|
|
Named property 'props' of types 'Component<any, {}, any>' and 'Component<any, {}, any>' are not identical." source="TS2320" />
|
|
<error line="3085" column="14" severity="error" message="Duplicate identifier 'LibraryManagedAttributes'." source="TS2300" />
|
|
</file>
|
|
<file name="assets/js/icons/library/woo.tsx">
|
|
<error line="6" column="23" severity="error" message="Binding element 'className' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="6" column="34" severity="error" message="Binding element 'height' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="6" column="42" severity="error" message="Binding element 'width' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="29" column="14" severity="error" message="Type '{}' is missing the following properties from type '{ [x: string]: any; className: any; height: any; width: any; }': className, height, width" source="TS2739" />
|
|
</file>
|
|
<file name="node_modules/@wordpress/element/node_modules/@types/react/index.d.ts">
|
|
<error line="3086" column="14" severity="error" message="Duplicate identifier 'LibraryManagedAttributes'." source="TS2300" />
|
|
<error line="3099" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'a' must be of type 'DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>', but here has type 'DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>'." source="TS2717" />
|
|
<error line="3100" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'abbr' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3101" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'address' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3102" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'area' must be of type 'DetailedHTMLProps<AreaHTMLAttributes<HTMLAreaElement>, HTMLAreaElement>', but here has type 'DetailedHTMLProps<AreaHTMLAttributes<HTMLAreaElement>, HTMLAreaElement>'." source="TS2717" />
|
|
<error line="3103" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'article' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3104" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'aside' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3105" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'audio' must be of type 'DetailedHTMLProps<AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>', but here has type 'DetailedHTMLProps<AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>'." source="TS2717" />
|
|
<error line="3106" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'b' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3107" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'base' must be of type 'DetailedHTMLProps<BaseHTMLAttributes<HTMLBaseElement>, HTMLBaseElement>', but here has type 'DetailedHTMLProps<BaseHTMLAttributes<HTMLBaseElement>, HTMLBaseElement>'." source="TS2717" />
|
|
<error line="3108" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'bdi' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3109" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'bdo' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3110" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'big' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3111" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'blockquote' must be of type 'DetailedHTMLProps<BlockquoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>', but here has type 'DetailedHTMLProps<BlockquoteHTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3112" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'body' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLBodyElement>, HTMLBodyElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLBodyElement>, HTMLBodyElement>'." source="TS2717" />
|
|
<error line="3113" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'br' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLBRElement>, HTMLBRElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLBRElement>, HTMLBRElement>'." source="TS2717" />
|
|
<error line="3114" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'button' must be of type 'DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>', but here has type 'DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>'." source="TS2717" />
|
|
<error line="3115" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'canvas' must be of type 'DetailedHTMLProps<CanvasHTMLAttributes<HTMLCanvasElement>, HTMLCanvasElement>', but here has type 'DetailedHTMLProps<CanvasHTMLAttributes<HTMLCanvasElement>, HTMLCanvasElement>'." source="TS2717" />
|
|
<error line="3116" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'caption' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3117" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'cite' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3118" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'code' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3119" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'col' must be of type 'DetailedHTMLProps<ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>', but here has type 'DetailedHTMLProps<ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>'." source="TS2717" />
|
|
<error line="3120" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'colgroup' must be of type 'DetailedHTMLProps<ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>', but here has type 'DetailedHTMLProps<ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>'." source="TS2717" />
|
|
<error line="3121" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'data' must be of type 'DetailedHTMLProps<DataHTMLAttributes<HTMLDataElement>, HTMLDataElement>', but here has type 'DetailedHTMLProps<DataHTMLAttributes<HTMLDataElement>, HTMLDataElement>'." source="TS2717" />
|
|
<error line="3122" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'datalist' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>'." source="TS2717" />
|
|
<error line="3123" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'dd' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3124" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'del' must be of type 'DetailedHTMLProps<DelHTMLAttributes<HTMLModElement>, HTMLModElement>', but here has type 'DetailedHTMLProps<DelHTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3125" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'details' must be of type 'DetailedHTMLProps<DetailsHTMLAttributes<HTMLDetailsElement>, HTMLDetailsElement>', but here has type 'DetailedHTMLProps<DetailsHTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3126" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'dfn' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3127" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'dialog' must be of type 'DetailedHTMLProps<DialogHTMLAttributes<HTMLDialogElement>, HTMLDialogElement>', but here has type 'DetailedHTMLProps<DialogHTMLAttributes<HTMLDialogElement>, HTMLDialogElement>'." source="TS2717" />
|
|
<error line="3128" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'div' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'." source="TS2717" />
|
|
<error line="3129" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'dl' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLDListElement>, HTMLDListElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLDListElement>, HTMLDListElement>'." source="TS2717" />
|
|
<error line="3130" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'dt' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3131" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'em' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3132" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'embed' must be of type 'DetailedHTMLProps<EmbedHTMLAttributes<HTMLEmbedElement>, HTMLEmbedElement>', but here has type 'DetailedHTMLProps<EmbedHTMLAttributes<HTMLEmbedElement>, HTMLEmbedElement>'." source="TS2717" />
|
|
<error line="3133" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'fieldset' must be of type 'DetailedHTMLProps<FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>', but here has type 'DetailedHTMLProps<FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>'." source="TS2717" />
|
|
<error line="3134" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'figcaption' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3135" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'figure' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3136" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'footer' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3137" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'form' must be of type 'DetailedHTMLProps<FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>', but here has type 'DetailedHTMLProps<FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>'." source="TS2717" />
|
|
<error line="3138" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'h1' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>'." source="TS2717" />
|
|
<error line="3139" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'h2' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>'." source="TS2717" />
|
|
<error line="3140" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'h3' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>'." source="TS2717" />
|
|
<error line="3141" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'h4' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>'." source="TS2717" />
|
|
<error line="3142" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'h5' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>'." source="TS2717" />
|
|
<error line="3143" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'h6' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>'." source="TS2717" />
|
|
<error line="3144" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'head' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadElement>, HTMLHeadElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadElement>, HTMLHeadElement>'." source="TS2717" />
|
|
<error line="3145" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'header' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3146" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'hgroup' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3147" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'hr' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHRElement>, HTMLHRElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHRElement>, HTMLHRElement>'." source="TS2717" />
|
|
<error line="3148" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'html' must be of type 'DetailedHTMLProps<HtmlHTMLAttributes<HTMLHtmlElement>, HTMLHtmlElement>', but here has type 'DetailedHTMLProps<HtmlHTMLAttributes<HTMLHtmlElement>, HTMLHtmlElement>'." source="TS2717" />
|
|
<error line="3149" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'i' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3150" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'iframe' must be of type 'DetailedHTMLProps<IframeHTMLAttributes<HTMLIFrameElement>, HTMLIFrameElement>', but here has type 'DetailedHTMLProps<IframeHTMLAttributes<HTMLIFrameElement>, HTMLIFrameElement>'." source="TS2717" />
|
|
<error line="3151" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'img' must be of type 'DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>', but here has type 'DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>'." source="TS2717" />
|
|
<error line="3152" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'input' must be of type 'DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>', but here has type 'DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>'." source="TS2717" />
|
|
<error line="3153" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'ins' must be of type 'DetailedHTMLProps<InsHTMLAttributes<HTMLModElement>, HTMLModElement>', but here has type 'DetailedHTMLProps<InsHTMLAttributes<HTMLModElement>, HTMLModElement>'." source="TS2717" />
|
|
<error line="3154" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'kbd' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3155" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'keygen' must be of type 'DetailedHTMLProps<KeygenHTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<KeygenHTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3156" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'label' must be of type 'DetailedHTMLProps<LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>', but here has type 'DetailedHTMLProps<LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>'." source="TS2717" />
|
|
<error line="3157" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'legend' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLLegendElement>, HTMLLegendElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLLegendElement>, HTMLLegendElement>'." source="TS2717" />
|
|
<error line="3158" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'li' must be of type 'DetailedHTMLProps<LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>', but here has type 'DetailedHTMLProps<LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>'." source="TS2717" />
|
|
<error line="3159" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'link' must be of type 'DetailedHTMLProps<LinkHTMLAttributes<HTMLLinkElement>, HTMLLinkElement>', but here has type 'DetailedHTMLProps<LinkHTMLAttributes<HTMLLinkElement>, HTMLLinkElement>'." source="TS2717" />
|
|
<error line="3160" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'main' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3161" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'map' must be of type 'DetailedHTMLProps<MapHTMLAttributes<HTMLMapElement>, HTMLMapElement>', but here has type 'DetailedHTMLProps<MapHTMLAttributes<HTMLMapElement>, HTMLMapElement>'." source="TS2717" />
|
|
<error line="3162" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'mark' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3163" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'menu' must be of type 'DetailedHTMLProps<MenuHTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<MenuHTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3164" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'menuitem' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3165" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'meta' must be of type 'DetailedHTMLProps<MetaHTMLAttributes<HTMLMetaElement>, HTMLMetaElement>', but here has type 'DetailedHTMLProps<MetaHTMLAttributes<HTMLMetaElement>, HTMLMetaElement>'." source="TS2717" />
|
|
<error line="3166" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'meter' must be of type 'DetailedHTMLProps<MeterHTMLAttributes<HTMLMeterElement>, HTMLMeterElement>', but here has type 'DetailedHTMLProps<MeterHTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3167" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'nav' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3168" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'noindex' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3169" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'noscript' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3170" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'object' must be of type 'DetailedHTMLProps<ObjectHTMLAttributes<HTMLObjectElement>, HTMLObjectElement>', but here has type 'DetailedHTMLProps<ObjectHTMLAttributes<HTMLObjectElement>, HTMLObjectElement>'." source="TS2717" />
|
|
<error line="3171" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'ol' must be of type 'DetailedHTMLProps<OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>', but here has type 'DetailedHTMLProps<OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>'." source="TS2717" />
|
|
<error line="3172" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'optgroup' must be of type 'DetailedHTMLProps<OptgroupHTMLAttributes<HTMLOptGroupElement>, HTMLOptGroupElement>', but here has type 'DetailedHTMLProps<OptgroupHTMLAttributes<HTMLOptGroupElement>, HTMLOptGroupElement>'." source="TS2717" />
|
|
<error line="3173" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'option' must be of type 'DetailedHTMLProps<OptionHTMLAttributes<HTMLOptionElement>, HTMLOptionElement>', but here has type 'DetailedHTMLProps<OptionHTMLAttributes<HTMLOptionElement>, HTMLOptionElement>'." source="TS2717" />
|
|
<error line="3174" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'output' must be of type 'DetailedHTMLProps<OutputHTMLAttributes<HTMLOutputElement>, HTMLOutputElement>', but here has type 'DetailedHTMLProps<OutputHTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3175" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'p' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>'." source="TS2717" />
|
|
<error line="3176" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'param' must be of type 'DetailedHTMLProps<ParamHTMLAttributes<HTMLParamElement>, HTMLParamElement>', but here has type 'DetailedHTMLProps<ParamHTMLAttributes<HTMLParamElement>, HTMLParamElement>'." source="TS2717" />
|
|
<error line="3177" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'picture' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3178" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'pre' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLPreElement>, HTMLPreElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLPreElement>, HTMLPreElement>'." source="TS2717" />
|
|
<error line="3179" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'progress' must be of type 'DetailedHTMLProps<ProgressHTMLAttributes<HTMLProgressElement>, HTMLProgressElement>', but here has type 'DetailedHTMLProps<ProgressHTMLAttributes<HTMLProgressElement>, HTMLProgressElement>'." source="TS2717" />
|
|
<error line="3180" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'q' must be of type 'DetailedHTMLProps<QuoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>', but here has type 'DetailedHTMLProps<QuoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>'." source="TS2717" />
|
|
<error line="3181" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'rp' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3182" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'rt' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3183" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'ruby' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3184" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 's' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3185" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'samp' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3186" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'slot' must be of type 'DetailedHTMLProps<SlotHTMLAttributes<HTMLSlotElement>, HTMLSlotElement>', but here has type 'DetailedHTMLProps<SlotHTMLAttributes<HTMLSlotElement>, HTMLSlotElement>'." source="TS2717" />
|
|
<error line="3187" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'script' must be of type 'DetailedHTMLProps<ScriptHTMLAttributes<HTMLScriptElement>, HTMLScriptElement>', but here has type 'DetailedHTMLProps<ScriptHTMLAttributes<HTMLScriptElement>, HTMLScriptElement>'." source="TS2717" />
|
|
<error line="3188" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'section' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3189" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'select' must be of type 'DetailedHTMLProps<SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>', but here has type 'DetailedHTMLProps<SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>'." source="TS2717" />
|
|
<error line="3190" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'small' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3191" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'source' must be of type 'DetailedHTMLProps<SourceHTMLAttributes<HTMLSourceElement>, HTMLSourceElement>', but here has type 'DetailedHTMLProps<SourceHTMLAttributes<HTMLSourceElement>, HTMLSourceElement>'." source="TS2717" />
|
|
<error line="3192" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'span' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>'." source="TS2717" />
|
|
<error line="3193" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'strong' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3194" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'style' must be of type 'DetailedHTMLProps<StyleHTMLAttributes<HTMLStyleElement>, HTMLStyleElement>', but here has type 'DetailedHTMLProps<StyleHTMLAttributes<HTMLStyleElement>, HTMLStyleElement>'." source="TS2717" />
|
|
<error line="3195" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'sub' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3196" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'summary' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3197" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'sup' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3198" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'table' must be of type 'DetailedHTMLProps<TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>', but here has type 'DetailedHTMLProps<TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>'." source="TS2717" />
|
|
<error line="3199" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'template' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLTemplateElement>, HTMLTemplateElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLTemplateElement>, HTMLTemplateElement>'." source="TS2717" />
|
|
<error line="3200" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'tbody' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>'." source="TS2717" />
|
|
<error line="3201" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'td' must be of type 'DetailedHTMLProps<TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>', but here has type 'DetailedHTMLProps<TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>'." source="TS2717" />
|
|
<error line="3202" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'textarea' must be of type 'DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>', but here has type 'DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>'." source="TS2717" />
|
|
<error line="3203" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'tfoot' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>'." source="TS2717" />
|
|
<error line="3204" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'th' must be of type 'DetailedHTMLProps<ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>', but here has type 'DetailedHTMLProps<ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>'." source="TS2717" />
|
|
<error line="3205" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'thead' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>'." source="TS2717" />
|
|
<error line="3206" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'time' must be of type 'DetailedHTMLProps<TimeHTMLAttributes<HTMLTimeElement>, HTMLTimeElement>', but here has type 'DetailedHTMLProps<TimeHTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3207" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'title' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>'." source="TS2717" />
|
|
<error line="3208" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'tr' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>'." source="TS2717" />
|
|
<error line="3209" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'track' must be of type 'DetailedHTMLProps<TrackHTMLAttributes<HTMLTrackElement>, HTMLTrackElement>', but here has type 'DetailedHTMLProps<TrackHTMLAttributes<HTMLTrackElement>, HTMLTrackElement>'." source="TS2717" />
|
|
<error line="3210" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'u' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3211" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'ul' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLUListElement>, HTMLUListElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLUListElement>, HTMLUListElement>'." source="TS2717" />
|
|
<error line="3212" column="13" severity="error" message="Subsequent property declarations must have the same type. Property '"var"' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3213" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'video' must be of type 'DetailedHTMLProps<VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>', but here has type 'DetailedHTMLProps<VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>'." source="TS2717" />
|
|
<error line="3214" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'wbr' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'." source="TS2717" />
|
|
<error line="3215" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'webview' must be of type 'DetailedHTMLProps<WebViewHTMLAttributes<HTMLWebViewElement>, HTMLWebViewElement>', but here has type 'DetailedHTMLProps<WebViewHTMLAttributes<HTMLWebViewElement>, HTMLWebViewElement>'." source="TS2717" />
|
|
<error line="3218" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'svg' must be of type 'SVGProps<SVGSVGElement>', but here has type 'SVGProps<SVGSVGElement>'." source="TS2717" />
|
|
<error line="3220" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'animate' must be of type 'SVGProps<SVGElement>', but here has type 'SVGProps<SVGElement>'." source="TS2717" />
|
|
<error line="3221" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'animateMotion' must be of type 'SVGProps<SVGElement>', but here has type 'SVGProps<SVGElement>'." source="TS2717" />
|
|
<error line="3222" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'animateTransform' must be of type 'SVGProps<SVGElement>', but here has type 'SVGProps<SVGElement>'." source="TS2717" />
|
|
<error line="3223" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'circle' must be of type 'SVGProps<SVGCircleElement>', but here has type 'SVGProps<SVGCircleElement>'." source="TS2717" />
|
|
<error line="3224" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'clipPath' must be of type 'SVGProps<SVGClipPathElement>', but here has type 'SVGProps<SVGClipPathElement>'." source="TS2717" />
|
|
<error line="3225" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'defs' must be of type 'SVGProps<SVGDefsElement>', but here has type 'SVGProps<SVGDefsElement>'." source="TS2717" />
|
|
<error line="3226" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'desc' must be of type 'SVGProps<SVGDescElement>', but here has type 'SVGProps<SVGDescElement>'." source="TS2717" />
|
|
<error line="3227" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'ellipse' must be of type 'SVGProps<SVGEllipseElement>', but here has type 'SVGProps<SVGEllipseElement>'." source="TS2717" />
|
|
<error line="3228" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'feBlend' must be of type 'SVGProps<SVGFEBlendElement>', but here has type 'SVGProps<SVGFEBlendElement>'." source="TS2717" />
|
|
<error line="3229" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'feColorMatrix' must be of type 'SVGProps<SVGFEColorMatrixElement>', but here has type 'SVGProps<SVGFEColorMatrixElement>'." source="TS2717" />
|
|
<error line="3230" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'feComponentTransfer' must be of type 'SVGProps<SVGFEComponentTransferElement>', but here has type 'SVGProps<SVGFEComponentTransferElement>'." source="TS2717" />
|
|
<error line="3231" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'feComposite' must be of type 'SVGProps<SVGFECompositeElement>', but here has type 'SVGProps<SVGFECompositeElement>'." source="TS2717" />
|
|
<error line="3232" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'feConvolveMatrix' must be of type 'SVGProps<SVGFEConvolveMatrixElement>', but here has type 'SVGProps<SVGFEConvolveMatrixElement>'." source="TS2717" />
|
|
<error line="3233" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'feDiffuseLighting' must be of type 'SVGProps<SVGFEDiffuseLightingElement>', but here has type 'SVGProps<SVGFEDiffuseLightingElement>'." source="TS2717" />
|
|
<error line="3234" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'feDisplacementMap' must be of type 'SVGProps<SVGFEDisplacementMapElement>', but here has type 'SVGProps<SVGFEDisplacementMapElement>'." source="TS2717" />
|
|
<error line="3235" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'feDistantLight' must be of type 'SVGProps<SVGFEDistantLightElement>', but here has type 'SVGProps<SVGFEDistantLightElement>'." source="TS2717" />
|
|
<error line="3236" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'feDropShadow' must be of type 'SVGProps<SVGFEDropShadowElement>', but here has type 'SVGProps<SVGFEDropShadowElement>'." source="TS2717" />
|
|
<error line="3237" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'feFlood' must be of type 'SVGProps<SVGFEFloodElement>', but here has type 'SVGProps<SVGFEFloodElement>'." source="TS2717" />
|
|
<error line="3238" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'feFuncA' must be of type 'SVGProps<SVGFEFuncAElement>', but here has type 'SVGProps<SVGFEFuncAElement>'." source="TS2717" />
|
|
<error line="3239" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'feFuncB' must be of type 'SVGProps<SVGFEFuncBElement>', but here has type 'SVGProps<SVGFEFuncBElement>'." source="TS2717" />
|
|
<error line="3240" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'feFuncG' must be of type 'SVGProps<SVGFEFuncGElement>', but here has type 'SVGProps<SVGFEFuncGElement>'." source="TS2717" />
|
|
<error line="3241" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'feFuncR' must be of type 'SVGProps<SVGFEFuncRElement>', but here has type 'SVGProps<SVGFEFuncRElement>'." source="TS2717" />
|
|
<error line="3242" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'feGaussianBlur' must be of type 'SVGProps<SVGFEGaussianBlurElement>', but here has type 'SVGProps<SVGFEGaussianBlurElement>'." source="TS2717" />
|
|
<error line="3243" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'feImage' must be of type 'SVGProps<SVGFEImageElement>', but here has type 'SVGProps<SVGFEImageElement>'." source="TS2717" />
|
|
<error line="3244" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'feMerge' must be of type 'SVGProps<SVGFEMergeElement>', but here has type 'SVGProps<SVGFEMergeElement>'." source="TS2717" />
|
|
<error line="3245" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'feMergeNode' must be of type 'SVGProps<SVGFEMergeNodeElement>', but here has type 'SVGProps<SVGFEMergeNodeElement>'." source="TS2717" />
|
|
<error line="3246" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'feMorphology' must be of type 'SVGProps<SVGFEMorphologyElement>', but here has type 'SVGProps<SVGFEMorphologyElement>'." source="TS2717" />
|
|
<error line="3247" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'feOffset' must be of type 'SVGProps<SVGFEOffsetElement>', but here has type 'SVGProps<SVGFEOffsetElement>'." source="TS2717" />
|
|
<error line="3248" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'fePointLight' must be of type 'SVGProps<SVGFEPointLightElement>', but here has type 'SVGProps<SVGFEPointLightElement>'." source="TS2717" />
|
|
<error line="3249" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'feSpecularLighting' must be of type 'SVGProps<SVGFESpecularLightingElement>', but here has type 'SVGProps<SVGFESpecularLightingElement>'." source="TS2717" />
|
|
<error line="3250" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'feSpotLight' must be of type 'SVGProps<SVGFESpotLightElement>', but here has type 'SVGProps<SVGFESpotLightElement>'." source="TS2717" />
|
|
<error line="3251" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'feTile' must be of type 'SVGProps<SVGFETileElement>', but here has type 'SVGProps<SVGFETileElement>'." source="TS2717" />
|
|
<error line="3252" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'feTurbulence' must be of type 'SVGProps<SVGFETurbulenceElement>', but here has type 'SVGProps<SVGFETurbulenceElement>'." source="TS2717" />
|
|
<error line="3253" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'filter' must be of type 'SVGProps<SVGFilterElement>', but here has type 'SVGProps<SVGFilterElement>'." source="TS2717" />
|
|
<error line="3254" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'foreignObject' must be of type 'SVGProps<SVGForeignObjectElement>', but here has type 'SVGProps<SVGForeignObjectElement>'." source="TS2717" />
|
|
<error line="3255" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'g' must be of type 'SVGProps<SVGGElement>', but here has type 'SVGProps<SVGGElement>'." source="TS2717" />
|
|
<error line="3256" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'image' must be of type 'SVGProps<SVGImageElement>', but here has type 'SVGProps<SVGImageElement>'." source="TS2717" />
|
|
<error line="3257" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'line' must be of type 'SVGProps<SVGLineElement>', but here has type 'SVGProps<SVGLineElement>'." source="TS2717" />
|
|
<error line="3258" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'linearGradient' must be of type 'SVGProps<SVGLinearGradientElement>', but here has type 'SVGProps<SVGLinearGradientElement>'." source="TS2717" />
|
|
<error line="3259" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'marker' must be of type 'SVGProps<SVGMarkerElement>', but here has type 'SVGProps<SVGMarkerElement>'." source="TS2717" />
|
|
<error line="3260" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'mask' must be of type 'SVGProps<SVGMaskElement>', but here has type 'SVGProps<SVGMaskElement>'." source="TS2717" />
|
|
<error line="3261" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'metadata' must be of type 'SVGProps<SVGMetadataElement>', but here has type 'SVGProps<SVGMetadataElement>'." source="TS2717" />
|
|
<error line="3262" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'mpath' must be of type 'SVGProps<SVGElement>', but here has type 'SVGProps<SVGElement>'." source="TS2717" />
|
|
<error line="3263" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'path' must be of type 'SVGProps<SVGPathElement>', but here has type 'SVGProps<SVGPathElement>'." source="TS2717" />
|
|
<error line="3264" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'pattern' must be of type 'SVGProps<SVGPatternElement>', but here has type 'SVGProps<SVGPatternElement>'." source="TS2717" />
|
|
<error line="3265" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'polygon' must be of type 'SVGProps<SVGPolygonElement>', but here has type 'SVGProps<SVGPolygonElement>'." source="TS2717" />
|
|
<error line="3266" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'polyline' must be of type 'SVGProps<SVGPolylineElement>', but here has type 'SVGProps<SVGPolylineElement>'." source="TS2717" />
|
|
<error line="3267" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'radialGradient' must be of type 'SVGProps<SVGRadialGradientElement>', but here has type 'SVGProps<SVGRadialGradientElement>'." source="TS2717" />
|
|
<error line="3268" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'rect' must be of type 'SVGProps<SVGRectElement>', but here has type 'SVGProps<SVGRectElement>'." source="TS2717" />
|
|
<error line="3269" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'stop' must be of type 'SVGProps<SVGStopElement>', but here has type 'SVGProps<SVGStopElement>'." source="TS2717" />
|
|
<error line="3270" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'switch' must be of type 'SVGProps<SVGSwitchElement>', but here has type 'SVGProps<SVGSwitchElement>'." source="TS2717" />
|
|
<error line="3271" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'symbol' must be of type 'SVGProps<SVGSymbolElement>', but here has type 'SVGProps<SVGSymbolElement>'." source="TS2717" />
|
|
<error line="3272" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'text' must be of type 'SVGProps<SVGTextElement>', but here has type 'SVGProps<SVGTextElement>'." source="TS2717" />
|
|
<error line="3273" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'textPath' must be of type 'SVGProps<SVGTextPathElement>', but here has type 'SVGProps<SVGTextPathElement>'." source="TS2717" />
|
|
<error line="3274" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'tspan' must be of type 'SVGProps<SVGTSpanElement>', but here has type 'SVGProps<SVGTSpanElement>'." source="TS2717" />
|
|
<error line="3275" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'use' must be of type 'SVGProps<SVGUseElement>', but here has type 'SVGProps<SVGUseElement>'." source="TS2717" />
|
|
<error line="3276" column="13" severity="error" message="Subsequent property declarations must have the same type. Property 'view' must be of type 'SVGProps<SVGViewElement>', but here has type 'SVGProps<SVGViewElement>'." source="TS2717" />
|
|
</file>
|
|
<file name="assets/js/filters/block-list-block.js">
|
|
<error line="43" column="13" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="44" column="13" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="44" column="23" severity="error" message="Property 'defaults' does not exist on type 'Block<Record<string, any>>'." source="TS2339" />
|
|
<error line="50" column="19" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="53" column="15" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="53" column="25" severity="error" message="Property 'defaults' does not exist on type 'Block<Record<string, any>>'." source="TS2339" />
|
|
<error line="55" column="28" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="55" column="38" severity="error" message="Property 'defaults' does not exist on type 'Block<Record<string, any>>'." source="TS2339" />
|
|
<error line="65" column="7" severity="error" message="Type '{ attributes: any; children?: ReactNode; }' is not assignable to type 'InnerProps'.
|
|
'{ attributes: any; children?: ReactNode; }' is assignable to the constraint of type 'InnerProps', but 'InnerProps' could be instantiated with a different subtype of constraint '{}'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/filters/get-block-attributes.js">
|
|
<error line="15" column="17" severity="error" message="Property 'name' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="16" column="26" severity="error" message="Property 'attributes' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="18" column="12" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Object'.
|
|
No index signature with a parameter of type 'string' was found on type 'Object'." source="TS7053" />
|
|
<error line="19" column="22" severity="error" message="Property 'defaults' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="20" column="22" severity="error" message="Property 'defaults' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="22" column="5" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Object'.
|
|
No index signature with a parameter of type 'string' was found on type 'Object'." source="TS7053" />
|
|
<error line="22" column="40" severity="error" message="Property 'defaults' does not exist on type 'Object'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/filters/exclude-draft-status-from-analytics.js">
|
|
<error line="10" column="33" severity="error" message="Parameter 'optionsGroup' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="15" column="9" severity="error" message="Parameter 'option' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/blocks-registry/payment-methods/payment-method-config.tsx">
|
|
<error line="48" column="3" severity="error" message="Type 'string | undefined' is not assignable to type 'string' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.
|
|
Type 'undefined' is not assignable to type 'string'." source="TS2412" />
|
|
</file>
|
|
<file name="assets/js/settings/blocks/feature-flags.ts">
|
|
<error line="22" column="29" 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 'string | BlockConfiguration<{}>' is not assignable to parameter of type 'BlockConfiguration<{}>'.
|
|
Type 'string' is not assignable to 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 'string | BlockConfiguration<{}>' is not assignable to parameter of type 'string'.
|
|
Type 'BlockConfiguration<{}>' is not assignable to type 'string'." source="TS2769" />
|
|
<error line="36" column="29" 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 'string | BlockConfiguration<{}>' is not assignable to parameter of type 'BlockConfiguration<{}>'.
|
|
Type 'string' is not assignable to type 'BlockConfiguration<{}>'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{}>): Block<{}> | undefined', gave the following error.
|
|
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="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" />
|
|
</file>
|
|
<file name="packages/prices/index.js">
|
|
<error line="1" column="15" severity="error" message="File '/home/runner/work/woocommerce-blocks/woocommerce-blocks/packages/prices/utils/index.js' 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" />
|
|
</file>
|
|
<file name="packages/checkout/components/totals/item/index.tsx">
|
|
<error line="8" column="15" severity="error" message="Module '"@woocommerce/price-format"' has no exported member 'Currency'." source="TS2305" />
|
|
<error line="8" column="31" severity="error" message="File '/home/runner/work/woocommerce-blocks/woocommerce-blocks/packages/prices/index.js' 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.
|
|
The file is in the program because:
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/packages/checkout/components/totals/item/index.tsx'
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/packages/checkout/components/totals/subtotal/index.tsx'
|
|
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.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'
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/base/components/cart-checkout/shipping-rates-control-package/render-package-rate-option.tsx'
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/base/components/cart-checkout/totals/shipping/index.tsx'
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/blocks/active-filters/utils.tsx'
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/blocks/cart/cart-line-items-table/cart-line-item-row.tsx'
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/blocks/cart/inner-blocks/cart-order-summary-block/edit.tsx'
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/blocks/cart/inner-blocks/cart-order-summary-subtotal/block.tsx'
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/blocks/cart/inner-blocks/cart-order-summary-fee/block.tsx'
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/blocks/cart/inner-blocks/cart-order-summary-discount/block.tsx'
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/blocks/cart/inner-blocks/cart-order-summary-shipping/block.tsx'
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/blocks/cart/inner-blocks/cart-order-summary-taxes/block.tsx'
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/blocks/cart/inner-blocks/cart-order-summary-block/frontend.tsx'
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/blocks/checkout/inner-blocks/checkout-order-summary-block/edit.tsx'
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/blocks/checkout/inner-blocks/checkout-shipping-methods-block/block.tsx'
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/blocks/checkout/inner-blocks/checkout-order-summary-subtotal/block.tsx'
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/blocks/checkout/inner-blocks/checkout-order-summary-fee/block.tsx'
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/blocks/checkout/inner-blocks/checkout-order-summary-discount/block.tsx'
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/blocks/checkout/inner-blocks/checkout-order-summary-shipping/block.tsx'
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/blocks/checkout/inner-blocks/checkout-order-summary-taxes/block.tsx'
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/blocks/checkout/inner-blocks/checkout-order-summary-block/frontend.tsx'
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/blocks/price-filter/block.tsx'
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/blocks/mini-cart/block.tsx'
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/blocks/mini-cart/mini-cart-contents/inner-blocks/mini-cart-footer-block/block.tsx'
|
|
Imported via '@woocommerce/price-format' from file '/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/blocks/mini-cart/edit.tsx'" source="TS6307" />
|
|
</file>
|
|
<file name="packages/checkout/components/totals/subtotal/index.tsx">
|
|
<error line="5" column="15" severity="error" message="Module '"@woocommerce/price-format"' has no exported member 'Currency'." source="TS2305" />
|
|
<error line="35" column="4" severity="error" message="Type '{ className: string | undefined; currency: Currency; label: string; value: number; }' is not assignable to type 'TotalsItemProps' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
|
Types of property 'className' are incompatible.
|
|
Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'." source="TS2375" />
|
|
</file>
|
|
<file name="packages/checkout/components/totals/taxes/index.tsx">
|
|
<error line="7" column="15" severity="error" message="Module '"@woocommerce/price-format"' has no exported member 'Currency'." source="TS2305" />
|
|
</file>
|
|
<file name="packages/checkout/components/totals/fees/index.tsx">
|
|
<error line="7" column="15" severity="error" message="Module '"@woocommerce/price-format"' has no exported member 'Currency'." source="TS2305" />
|
|
</file>
|
|
<file name="packages/checkout/components/error-boundary/index.js">
|
|
<error line="9" column="35" severity="error" message="Parameter 'error' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="packages/checkout/slot/index.js">
|
|
<error line="11" column="8" severity="error" message="Could not find a declaration file for module 'wordpress-components'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/wordpress-components/build/index.js' implicitly has an 'any' type.
|
|
If the '@wordpress/components' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__components'" source="TS7016" />
|
|
<error line="42" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="83" column="13" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="87" column="8" severity="error" message="Parameter 'fillProps' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="packages/checkout/components/order-meta/index.js">
|
|
<error line="9" column="41" severity="error" message="Variable 'useSlot' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="14" column="9" severity="error" message="Property 'Fill' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="14" column="38" severity="error" message="Property 'Slot' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="17" column="18" severity="error" message="Binding element 'className' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="17" column="29" severity="error" message="Binding element 'extensions' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="17" column="41" severity="error" message="Binding element 'cart' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="17" column="47" severity="error" message="Binding element 'context' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="18" column="20" severity="error" message="Variable 'useSlot' implicitly has an 'any' type." source="TS7005" />
|
|
</file>
|
|
<file name="packages/checkout/components/discounts-meta/index.js">
|
|
<error line="9" column="41" severity="error" message="Variable 'useSlot' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="14" column="9" severity="error" message="Property 'Fill' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="14" column="42" severity="error" message="Property 'Slot' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="17" column="18" severity="error" message="Binding element 'className' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="17" column="29" severity="error" message="Binding element 'extensions' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="17" column="41" severity="error" message="Binding element 'cart' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="17" column="47" severity="error" message="Binding element 'context' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="18" column="20" severity="error" message="Variable 'useSlot' implicitly has an 'any' type." source="TS7005" />
|
|
</file>
|
|
<file name="packages/checkout/components/order-shipping-packages/index.js">
|
|
<error line="9" column="26" severity="error" message="Variable 'useSlot' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="13" column="2" severity="error" message="Property 'Fill' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="14" column="2" severity="error" message="Property 'Slot' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="18" column="2" severity="error" message="Binding element 'className' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="19" column="2" severity="error" message="Binding element 'collapsible' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="20" column="2" severity="error" message="Binding element 'noResultsMessage' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="21" column="2" severity="error" message="Binding element 'renderOption' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="22" column="2" severity="error" message="Binding element 'extensions' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="23" column="2" severity="error" message="Binding element 'cart' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="24" column="2" severity="error" message="Binding element 'components' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="25" column="2" severity="error" message="Binding element 'context' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="26" column="2" severity="error" message="Binding element 'shippingRates' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="28" column="20" severity="error" message="Variable 'useSlot' implicitly has an 'any' type." source="TS7005" />
|
|
</file>
|
|
<file name="assets/js/base/components/button/index.tsx">
|
|
<error line="4" column="36" severity="error" message="Could not find a declaration file for module 'wordpress-components'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/wordpress-components/build/index.js' implicitly has an 'any' type.
|
|
If the '@wordpress/components' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__components'" source="TS7016" />
|
|
</file>
|
|
<file name="node_modules/@types/wordpress__block-editor/index.d.ts">
|
|
<error line="21" column="14" severity="error" message="Cannot redeclare block-scoped variable 'store'." source="TS2451" />
|
|
</file>
|
|
<file name="assets/js/utils/global-style.js">
|
|
<error line="5" column="10" severity="error" message="Module '"@wordpress/block-editor"' has no exported member '__experimentalGetSpacingClassesAndStyles'." source="TS2305" />
|
|
</file>
|
|
<file name="assets/js/utils/products.js">
|
|
<error line="5" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="20" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
</file>
|
|
<file name="assets/js/data/schema/selectors.js">
|
|
<error line="19" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="106" column="7" severity="error" message="Variable 'namespaceRoutes' implicitly has type 'any[]' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="109" column="8" severity="error" message="Variable 'namespaceRoutes' implicitly has an 'any[]' type." source="TS7005" />
|
|
<error line="113" column="10" severity="error" message="Variable 'namespaceRoutes' implicitly has an 'any[]' type." source="TS7005" />
|
|
<error line="122" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="130" column="27" severity="error" message="Property 'find' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="130" column="39" severity="error" message="Binding element 'idNames' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="151" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="152" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
</file>
|
|
<file name="assets/js/data/schema/resolvers.js">
|
|
<error line="5" column="10" severity="error" message="Module '"@wordpress/data"' has no exported member 'controls'." source="TS2305" />
|
|
<error line="33" column="24" severity="error" message="'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation." source="TS7057" />
|
|
</file>
|
|
<file name="assets/js/data/schema/utils.js">
|
|
<error line="31" column="13" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="52" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
</file>
|
|
<file name="assets/js/data/utils/has-in-state.js">
|
|
<error line="10" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
</file>
|
|
<file name="assets/js/data/utils/update-state.js">
|
|
<error line="10" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
</file>
|
|
<file name="assets/js/data/schema/reducers.js">
|
|
<error line="26" column="10" severity="error" message="Property 'type' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="26" column="16" severity="error" message="Property 'routes' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="26" column="24" severity="error" message="Property 'namespace' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="28" column="21" severity="error" message="Parameter 'route' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/data/schema/index.js">
|
|
<error line="17" column="2" severity="error" message="Type 'Reducer<CombinedState<{ routes: Object; }>, AnyAction>' is not assignable to type 'Reducer<"core/editor", AnyAction>'.
|
|
Types of parameters 'state' and 'state' are incompatible.
|
|
Type '"core/editor" | undefined' is not assignable to type 'CombinedState<{ routes: Object; }> | undefined'.
|
|
Type 'string' is not assignable to type 'CombinedState<{ routes: Object; }>'.
|
|
Type 'string' is not assignable to type '{ routes: Object; }'." source="TS2322" />
|
|
<error line="18" column="2" severity="error" message="Type 'typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/data/schema/actions")' is not assignable to type '{ [k: string]: (...args: readonly any[]) => AnyAction | Generator<any, any, unknown>; }'.
|
|
Property 'receiveRoutes' is incompatible with index signature.
|
|
Type '(routes: Object, namespace?: string) => Object' is not assignable to type '(...args: readonly any[]) => AnyAction | Generator<any, any, unknown>'.
|
|
Type 'Object' is not assignable to type 'AnyAction | Generator<any, any, unknown>'.
|
|
The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?
|
|
The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?
|
|
Property 'type' is missing in type 'Object' but required in type 'AnyAction'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/data/collections/constants.js">
|
|
<error line="2" column="14" severity="error" message="Variable 'DEFAULT_EMPTY_ARRAY' implicitly has an 'any[]' type." source="TS7005" />
|
|
</file>
|
|
<file name="assets/js/data/collections/selectors.js">
|
|
<error line="13" column="2" severity="error" message="Binding element 'state' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="14" column="2" severity="error" message="Binding element 'namespace' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="15" column="2" severity="error" message="Binding element 'resourceName' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="16" column="2" severity="error" message="Binding element 'query' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="17" column="2" severity="error" message="Binding element 'ids' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="31" column="2" severity="error" message="Parameter 'state' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="32" column="2" severity="error" message="Parameter 'namespace' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="33" column="2" severity="error" message="Parameter 'resourceName' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="55" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="58" column="13" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="64" column="2" severity="error" message="Type 'null' is not assignable to type 'Object | undefined'." source="TS2322" />
|
|
<error line="71" column="2" severity="error" message="Parameter 'state' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="72" column="2" severity="error" message="Parameter 'namespace' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="73" column="2" severity="error" message="Parameter 'resourceName' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="84" column="3" severity="error" message="Type 'null' is not assignable to type 'any[] | undefined'." source="TS2322" />
|
|
<error line="104" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="117" column="2" severity="error" message="Type 'null' is not assignable to type 'Object | undefined'." source="TS2322" />
|
|
<error line="124" column="3" severity="error" message="Argument of type 'Object' is not assignable to parameter of type 'null | undefined'.
|
|
The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?" source="TS2345" />
|
|
<error line="143" column="15" severity="error" message="Property 'lastModified' does not exist on type 'string'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/data/collections/actions.js">
|
|
<error line="8" column="8" severity="error" message="This expression is not constructable.
|
|
Type 'never' has no construct signatures." source="TS2351" />
|
|
<error line="20" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="31" column="5" severity="error" message="'}' expected." source="TS1005" />
|
|
<error line="46" column="26" severity="error" message="Type 'null' is not assignable to type 'Headers'." source="TS2322" />
|
|
<error line="60" column="2" severity="error" message="Parameter 'namespace' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="61" column="2" severity="error" message="Parameter 'resourceName' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="62" column="2" severity="error" message="Parameter 'queryString' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="63" column="2" severity="error" message="Parameter 'ids' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="64" column="2" severity="error" message="Parameter 'error' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="80" column="38" severity="error" message="Parameter 'timestamp' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/data/shared-controls.ts">
|
|
<error line="139" column="7" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
<error line="141" column="17" severity="error" message="Parameter 'response' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="144" column="19" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
<error line="146" column="26" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
</file>
|
|
<file name="assets/js/data/collections/resolvers.js">
|
|
<error line="4" column="10" severity="error" message="Module '"@wordpress/data"' has no exported member 'controls'." source="TS2305" />
|
|
<error line="21" column="23" severity="error" message="'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation." source="TS7057" />
|
|
<error line="40" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="43" column="16" severity="error" message="'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation." source="TS7057" />
|
|
<error line="93" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
</file>
|
|
<file name="assets/js/data/collections/reducers.js">
|
|
<error line="18" column="14" severity="error" message="Property 'type' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="19" column="15" severity="error" message="Property 'timestamp' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="19" column="35" severity="error" message="Property 'lastModified' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="24" column="25" severity="error" message="Property 'timestamp' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="29" column="14" severity="error" message="Property 'type' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="33" column="10" severity="error" message="Property 'type' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="33" column="16" severity="error" message="Property 'namespace' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="33" column="27" severity="error" message="Property 'resourceName' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="33" column="41" severity="error" message="Property 'queryString' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="33" column="54" severity="error" message="Property 'response' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="35" column="21" severity="error" message="Property 'ids' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="35" column="50" severity="error" message="Property 'ids' does not exist on type 'Object'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/data/collections/index.js">
|
|
<error line="20" column="2" severity="error" message="Type '{ API_FETCH_WITH_HEADERS: ({ options, }: { readonly type: "API_FETCH_WITH_HEADERS"; readonly options: APIFetchOptions; }) => Promise<unknown>; API_FETCH: (action: AnyAction) => Promise<...>; DISPATCH: (action: AnyAction) => void; SELECT: (action: AnyAction) => any; }' is not assignable to type '{ [k: string]: (action: AnyAction) => any; }'.
|
|
Property 'API_FETCH_WITH_HEADERS' is incompatible with index signature.
|
|
Type '({ options, }: ReturnType<typeof apiFetchWithHeaders>) => Promise<unknown>' is not assignable to type '(action: AnyAction) => any'.
|
|
Types of parameters '__0' and 'action' are incompatible.
|
|
Property 'options' is missing in type 'AnyAction' but required in type '{ readonly type: "API_FETCH_WITH_HEADERS"; readonly options: APIFetchOptions; }'." source="TS2322" />
|
|
<error line="21" column="2" severity="error" message="Type 'typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/data/collections/selectors")' is not assignable to type '{ [k: string]: (state: Object, ...args: readonly any[]) => any; }'.
|
|
Property 'getCollectionHeader' is incompatible with index signature.
|
|
Type '(state: string, header: string, namespace: string, resourceName: string, query?: Object | undefined, ids?: any[] | undefined) => any' is not assignable to type '(state: Object, ...args: readonly any[]) => any'.
|
|
Types of parameters 'state' and 'state' are incompatible.
|
|
Type 'Object' is not assignable to type 'string'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/data/cart/default-state.ts">
|
|
<error line="73" column="4" severity="error" message="Type '""' is not assignable to type 'CurrencyCode'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/data/mapped-types.ts">
|
|
<error line="29" column="28" severity="error" message="Type 'S[selector]' does not satisfy the constraint 'Function'.
|
|
Type 'S[FunctionKeys<S>]' is not assignable to type 'Function'.
|
|
Type 'S[NonUndefined<S[keyof S]> extends Function ? keyof S : never]' is not assignable to type 'Function'.
|
|
Type 'S[keyof S]' is not assignable to type 'Function'.
|
|
Type 'S[string] | S[number] | S[symbol]' is not assignable to type 'Function'.
|
|
Type 'S[string]' is not assignable to type 'Function'." source="TS2344" />
|
|
<error line="30" column="19" severity="error" message="Type 'S[selector]' does not satisfy the constraint '(...args: any) => any'.
|
|
Type 'S[FunctionKeys<S>]' is not assignable to type '(...args: any) => any'.
|
|
Type 'S[NonUndefined<S[keyof S]> extends Function ? keyof S : never]' is not assignable to type '(...args: any) => any'.
|
|
Type 'S[keyof S]' is not assignable to type '(...args: any) => any'.
|
|
Type 'S[string] | S[number] | S[symbol]' is not assignable to type '(...args: any) => any'.
|
|
Type 'S[string]' is not assignable to type '(...args: any) => any'." source="TS2344" />
|
|
</file>
|
|
<file name="assets/js/data/cart/actions.ts">
|
|
<error line="14" column="10" severity="error" message="Module '"@wordpress/data"' has no exported member 'controls'." source="TS2305" />
|
|
<error line="224" column="23" severity="error" message="Argument of type 'unknown' is not assignable to parameter of type 'ResponseError | null | undefined'." source="TS2345" />
|
|
<error line="226" column="8" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
<error line="227" column="23" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
<error line="260" column="23" severity="error" message="Argument of type 'unknown' is not assignable to parameter of type 'ResponseError | null | undefined'." source="TS2345" />
|
|
<error line="264" column="8" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
<error line="265" column="23" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
<error line="300" column="23" severity="error" message="Argument of type 'unknown' is not assignable to parameter of type 'ResponseError | null | undefined'." source="TS2345" />
|
|
<error line="304" column="8" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
<error line="305" column="23" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
<error line="344" column="23" severity="error" message="Argument of type 'unknown' is not assignable to parameter of type 'ResponseError | null | undefined'." source="TS2345" />
|
|
<error line="347" column="8" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
<error line="348" column="23" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
<error line="382" column="23" severity="error" message="Argument of type 'unknown' is not assignable to parameter of type 'ResponseError | null | undefined'." source="TS2345" />
|
|
<error line="385" column="8" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
<error line="386" column="23" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
<error line="428" column="23" severity="error" message="Argument of type 'unknown' is not assignable to parameter of type 'ResponseError | null | undefined'." source="TS2345" />
|
|
<error line="431" column="8" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
<error line="432" column="23" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
<error line="463" column="23" severity="error" message="Argument of type 'unknown' is not assignable to parameter of type 'ResponseError | null | undefined'." source="TS2345" />
|
|
<error line="467" column="8" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
<error line="468" column="23" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
<error line="514" column="23" severity="error" message="Argument of type 'unknown' is not assignable to parameter of type 'ResponseError | null | undefined'." source="TS2345" />
|
|
<error line="518" column="8" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
<error line="519" column="23" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
</file>
|
|
<file name="assets/js/data/cart/resolvers.ts">
|
|
<error line="5" column="10" severity="error" message="Module '"@wordpress/data"' has no exported member 'controls'." source="TS2305" />
|
|
</file>
|
|
<file name="assets/js/data/cart/reducers.ts">
|
|
<error line="25" column="18" severity="error" message="Property 'type' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="29" column="34" severity="error" message="Property 'cartItem' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="30" column="20" severity="error" message="Property 'cartItem' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="50" column="18" severity="error" message="Property 'type' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="52" column="16" severity="error" message="Property 'error' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="55" column="42" severity="error" message="Property 'error' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="60" column="16" severity="error" message="Property 'error' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="63" column="23" severity="error" message="Property 'error' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="68" column="16" severity="error" message="Property 'response' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="74" column="17" severity="error" message="Property 'response' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="80" column="16" severity="error" message="Property 'couponCode' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="80" column="37" severity="error" message="Property 'couponCode' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="85" column="30" severity="error" message="Property 'couponCode' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="97" column="17" severity="error" message="Property 'billingAddress' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="109" column="17" severity="error" message="Property 'shippingAddress' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="116" column="16" severity="error" message="Property 'couponCode' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="116" column="37" severity="error" message="Property 'couponCode' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="121" column="30" severity="error" message="Property 'couponCode' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="131" column="31" severity="error" message="Property 'cartItemKey' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="133" column="16" severity="error" message="Property 'isPendingQuantity' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="133" column="44" severity="error" message="Property 'cartItemKey' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="134" column="38" severity="error" message="Property 'cartItemKey' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="143" column="31" severity="error" message="Property 'cartItemKey' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="145" column="16" severity="error" message="Property 'isPendingDelete' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="145" column="42" severity="error" message="Property 'cartItemKey' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="146" column="36" severity="error" message="Property 'cartItemKey' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="169" column="38" severity="error" message="Property 'isResolving' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="178" column="38" severity="error" message="Property 'isResolving' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
<error line="187" column="30" severity="error" message="Property 'isCartDataStale' does not exist on type 'Partial<unknown>'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/base/utils/errors.js">
|
|
<error line="26" column="14" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
<error line="33" column="3" severity="error" message="Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'." source="TS2322" />
|
|
<error line="45" column="16" severity="error" message="Property 'data' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="45" column="33" severity="error" message="Property 'code' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="46" column="49" severity="error" message="Property 'data' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="52" column="19" severity="error" message="Property 'message' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="59" column="34" severity="error" message="Property 'message' does not exist on type 'Object'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/base/utils/address.ts">
|
|
<error line="92" column="46" severity="error" message="Argument of type 'string[]' is not assignable to parameter of type '(keyof AddressFields)[]'.
|
|
Type 'string' is not assignable to type 'keyof AddressFields'." source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/base/utils/shipping-rates.js">
|
|
<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.
|
|
Property 'text' is missing in type '{ children: Element; }' 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; }' but required in type 'Readonly<BlockErrorBoundaryProps>'." source="TS2769" />
|
|
<error line="168" column="27" severity="error" message="Argument of type '{ Block: BlockType<TProps, TAttributes> | null; containers: NodeListOf<Element>; getProps: GetPropsFn<TProps, TAttributes> | undefined; getErrorBoundaryProps: ((el: HTMLElement, i: number) => Record<...>) | undefined; }' is not assignable to parameter of type 'RenderBlockInContainersParams<TProps, TAttributes>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
|
Types of property 'getProps' are incompatible.
|
|
Type 'GetPropsFn<TProps, TAttributes> | undefined' is not assignable to type 'GetPropsFn<TProps, TAttributes>'.
|
|
Type 'undefined' is not assignable to type 'GetPropsFn<TProps, TAttributes>'." source="TS2379" />
|
|
<error line="199" column="27" severity="error" message="Argument of type '{ Block: BlockType<TProps, TAttributes> | null; containers: NodeListOf<Element>; getProps: GetPropsFn<TProps, TAttributes> | undefined; getErrorBoundaryProps: ((el: HTMLElement, i: number) => Record<...>) | undefined; }' is not assignable to parameter of type 'RenderBlockInContainersParams<TProps, TAttributes>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
|
Types of property 'getProps' are incompatible.
|
|
Type 'GetPropsFn<TProps, TAttributes> | undefined' is not assignable to type 'GetPropsFn<TProps, TAttributes>'.
|
|
Type 'undefined' is not assignable to type 'GetPropsFn<TProps, TAttributes>'." source="TS2379" />
|
|
<error line="244" column="30" severity="error" message="Argument of type '{ Block: BlockType<TProps, TAttributes> | null; getProps: GetPropsFn<TProps, TAttributes> | undefined; getErrorBoundaryProps: ((el: HTMLElement, i: number) => Record<...>) | undefined; selector: string; wrappers: NodeListOf<...>; }' is not assignable to parameter of type 'RenderBlockOutsideWrappersParams<TProps, TAttributes>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
|
Types of property 'getProps' are incompatible.
|
|
Type 'GetPropsFn<TProps, TAttributes> | undefined' is not assignable to type 'GetPropsFn<TProps, TAttributes>'.
|
|
Type 'undefined' is not assignable to type 'GetPropsFn<TProps, TAttributes>'." source="TS2379" />
|
|
</file>
|
|
<file name="assets/js/base/utils/get-valid-block-attributes.js">
|
|
<error line="5" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="6" column="13" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="9" column="8" severity="error" message="Variable 'attributes' implicitly has type 'any[]' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="12" column="30" severity="error" message="Element implicitly has an 'any' type because index expression is not of type 'number'." source="TS7015" />
|
|
<error line="13" column="13" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Object'.
|
|
No index signature with a parameter of type 'string' was found on type 'Object'." source="TS7053" />
|
|
<error line="15" column="6" severity="error" message="Variable 'attributes' implicitly has an 'any[]' type." source="TS7005" />
|
|
<error line="15" column="18" severity="error" message="Element implicitly has an 'any' type because index expression is not of type 'number'." source="TS7015" />
|
|
<error line="16" column="22" severity="error" message="Element implicitly has an 'any' type because index expression is not of type 'number'." source="TS7015" />
|
|
<error line="17" column="22" severity="error" message="Element implicitly has an 'any' type because index expression is not of type 'number'." source="TS7015" />
|
|
<error line="20" column="6" severity="error" message="Variable 'attributes' implicitly has an 'any[]' type." source="TS7005" />
|
|
<error line="20" column="18" severity="error" message="Element implicitly has an 'any' type because index expression is not of type 'number'." source="TS7015" />
|
|
<error line="20" column="51" severity="error" message="Element implicitly has an 'any' type because index expression is not of type 'number'." source="TS7015" />
|
|
<error line="24" column="6" severity="error" message="Variable 'attributes' implicitly has an 'any[]' type." source="TS7005" />
|
|
<error line="24" column="18" severity="error" message="Element implicitly has an 'any' type because index expression is not of type 'number'." source="TS7015" />
|
|
<error line="24" column="53" severity="error" message="Element implicitly has an 'any' type because index expression is not of type 'number'." source="TS7015" />
|
|
<error line="27" column="6" severity="error" message="Variable 'attributes' implicitly has an 'any[]' type." source="TS7005" />
|
|
<error line="27" column="18" severity="error" message="Element implicitly has an 'any' type because index expression is not of type 'number'." source="TS7015" />
|
|
<error line="27" column="41" severity="error" message="Element implicitly has an 'any' type because index expression is not of type 'number'." source="TS7015" />
|
|
<error line="31" column="4" severity="error" message="Variable 'attributes' implicitly has an 'any[]' type." source="TS7005" />
|
|
<error line="31" column="16" severity="error" message="Element implicitly has an 'any' type because index expression is not of type 'number'." source="TS7015" />
|
|
<error line="31" column="24" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Object'.
|
|
No index signature with a parameter of type 'string' was found on type 'Object'." source="TS7053" />
|
|
<error line="35" column="9" severity="error" message="Variable 'attributes' implicitly has an 'any[]' type." source="TS7005" />
|
|
</file>
|
|
<file name="assets/js/base/utils/product-data.js">
|
|
<error line="8" column="17" severity="error" message="Property 'is_purchasable' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="30" column="42" severity="error" message="Property 'type' does not exist on type 'Object'." source="TS2339" />
|
|
</file>
|
|
<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/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" />
|
|
<error line="191" column="5" severity="error" message="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: { ...; }; }' is not assignable to type 'ProductResponseItemPrices'.
|
|
Object literal may only specify known properties, and 'raw_prices' does not exist in type 'ProductResponseItemPrices'." source="TS2322" />
|
|
<error line="209" column="4" severity="error" message="Type 'number' is not assignable to type 'string'." source="TS2322" />
|
|
<error line="226" column="5" severity="error" message="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: { ...; }; }' is not assignable to type 'ProductResponseItemPrices'.
|
|
Object literal may only specify known properties, and 'raw_prices' does not exist in type 'ProductResponseItemPrices'." source="TS2322" />
|
|
<error line="245" column="4" severity="error" message="Type 'number' is not assignable to type 'string'." source="TS2322" />
|
|
<error line="263" column="5" severity="error" message="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: { ...; }; }' is not assignable to type 'ProductResponseItemPrices'.
|
|
Object literal may only specify known properties, and 'raw_prices' does not exist in type 'ProductResponseItemPrices'." source="TS2322" />
|
|
<error line="283" column="4" severity="error" message="Type 'number' is not assignable to type 'string'." source="TS2322" />
|
|
<error line="301" column="5" severity="error" message="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: { ...; }; }' is not assignable to type 'ProductResponseItemPrices'.
|
|
Object literal may only specify known properties, and 'raw_prices' does not exist in type 'ProductResponseItemPrices'." source="TS2322" />
|
|
<error line="320" column="4" severity="error" message="Type 'number' is not assignable to type 'string'." source="TS2322" />
|
|
<error line="338" column="5" severity="error" message="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: { ...; }; }' is not assignable to type 'ProductResponseItemPrices'.
|
|
Object literal may only specify known properties, and 'raw_prices' does not exist in type 'ProductResponseItemPrices'." source="TS2322" />
|
|
<error line="358" column="4" severity="error" message="Type 'number' is not assignable to type 'string'." source="TS2322" />
|
|
<error line="376" column="5" severity="error" message="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: { ...; }; }' is not assignable to type 'ProductResponseItemPrices'.
|
|
Object literal may only specify known properties, and 'raw_prices' does not exist in type 'ProductResponseItemPrices'." source="TS2322" />
|
|
<error line="394" column="4" severity="error" message="Type 'number' is not assignable to type 'string'." source="TS2322" />
|
|
<error line="411" column="5" severity="error" message="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; total: string; total_tax: string; tax_lines: { ...; }[]; }' is not assignable to type 'CartResponseFeeItemTotals'.
|
|
Object literal may only specify known properties, and 'tax_lines' does not exist in type 'CartResponseFeeItemTotals'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/data/payment/utils/check-payment-methods.ts">
|
|
<error line="15" column="10" severity="error" message="Module '"@wordpress/notices"' has no exported member 'store'." source="TS2305" />
|
|
<error line="143" column="5" severity="error" message="Argument of type 'unknown' is not assignable to parameter of type 'CartShippingRate[]'." source="TS2345" />
|
|
<error line="174" column="37" severity="error" message="Argument of type 'Record<string, unknown>' is not assignable to parameter of type 'CanMakePaymentArgument'.
|
|
Type 'Record<string, unknown>' is missing the following properties from type 'CanMakePaymentArgument': cart, cartTotals, cartNeedsShipping, billingData, and 3 more." source="TS2345" />
|
|
<error line="186" column="13" 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/payment/thunks.ts">
|
|
<error line="4" column="10" severity="error" message="Module '"@wordpress/notices"' has no exported member 'store'." source="TS2305" />
|
|
<error line="22" column="13" severity="error" message="Binding element 'registry' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="74" column="23" severity="error" message="Property 'meta' does not exist on type 'never'." source="TS2339" />
|
|
<error line="90" column="24" severity="error" message="Property 'message' does not exist on type 'never'." source="TS2339" />
|
|
<error line="90" column="49" severity="error" message="Property 'message' does not exist on type 'never'." source="TS2339" />
|
|
<error line="91" column="39" severity="error" message="Property 'message' does not exist on type 'never'." source="TS2339" />
|
|
<error line="95" column="23" severity="error" message="Property 'messageContext' does not exist on type 'never'." source="TS2339" />
|
|
<error line="101" column="21" severity="error" message="Property 'meta' does not exist on type 'never'." source="TS2339" />
|
|
<error line="109" column="24" severity="error" message="Property 'message' does not exist on type 'never'." source="TS2339" />
|
|
<error line="109" column="49" severity="error" message="Property 'message' does not exist on type 'never'." source="TS2339" />
|
|
<error line="110" column="39" severity="error" message="Property 'message' does not exist on type 'never'." source="TS2339" />
|
|
<error line="114" column="23" severity="error" message="Property 'messageContext' does not exist on type 'never'." source="TS2339" />
|
|
<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="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<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.
|
|
Type '() => ({ select, dispatch }: { select: any; dispatch: any; }) => Promise<void>' is not assignable to type '(...args: readonly any[]) => AnyAction | Generator<any, any, unknown>'.
|
|
Type '({ select, dispatch }: { select: any; dispatch: any; }) => Promise<void>' is not assignable to type 'AnyAction | Generator<any, any, unknown>'." source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/data/query-state/utils.js">
|
|
<error line="1" column="37" severity="error" message="Parameter 'state' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="1" column="44" severity="error" message="Parameter 'context' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/data/query-state/reducers.js">
|
|
<error line="14" column="10" severity="error" message="Property 'type' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="14" column="16" severity="error" message="Property 'context' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="14" column="25" severity="error" message="Property 'queryKey' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="14" column="35" severity="error" message="Property 'value' does not exist on type 'Object'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/data/query-state/index.js">
|
|
<error line="16" column="2" severity="error" message="Type 'typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/data/query-state/actions")' is not assignable to type '{ [k: string]: (...args: readonly any[]) => AnyAction | Generator<any, any, unknown>; }'.
|
|
Property 'setQueryValue' is incompatible with index signature.
|
|
Type '(context: string, queryKey: string, value: any) => Object' is not assignable to type '(...args: readonly any[]) => AnyAction | Generator<any, any, unknown>'.
|
|
Type 'Object' is not assignable to type 'AnyAction | Generator<any, any, unknown>'.
|
|
The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?" source="TS2322" />
|
|
</file>
|
|
<file name="packages/checkout/components/store-notices-container/index.tsx">
|
|
<error line="5" column="24" severity="error" message="Could not find a declaration file for module 'wordpress-components'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/wordpress-components/build/index.js' implicitly has an 'any' type.
|
|
If the '@wordpress/components' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__components'" source="TS7016" />
|
|
</file>
|
|
<file name="packages/checkout/filter-registry/index.ts">
|
|
<error line="36" column="37" severity="error" message="Cannot find name 'T'." source="TS2304" />
|
|
</file>
|
|
<file name="packages/checkout/blocks-registry/register-checkout-block.ts">
|
|
<error line="34" column="3" severity="error" message="Type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null' is not assignable to type 'Function'.
|
|
Type 'null' is not assignable to type 'Function'." source="TS2322" />
|
|
<error line="44" column="43" severity="error" message="Property 'lock' does not exist on type '{}'." source="TS2339" />
|
|
</file>
|
|
<file name="packages/checkout/index.js">
|
|
<error line="6" column="34" severity="error" message="Could not find a declaration file for module 'wordpress-components'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/wordpress-components/build/index.js' implicitly has an 'any' type.
|
|
If the '@wordpress/components' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__components'" source="TS7016" />
|
|
</file>
|
|
<file name="assets/js/blocks-registry/block-components/register-block-component.js">
|
|
<error line="42" column="2" severity="error" message="Type 'Function' is not assignable to type 'RegisteredBlockComponent'." source="TS2322" />
|
|
<error line="53" column="7" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Object'.
|
|
No index signature with a parameter of type 'string' was found on type 'Object'." source="TS7053" />
|
|
<error line="54" column="15" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Object'.
|
|
No index signature with a parameter of type 'string' was found on type 'Object'." source="TS7053" />
|
|
<error line="58" column="4" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Object'.
|
|
No index signature with a parameter of type 'string' was found on type 'Object'." source="TS7053" />
|
|
<error line="59" column="4" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Object'.
|
|
No index signature with a parameter of type 'string' was found on type 'Object'." source="TS7053" />
|
|
<error line="78" column="28" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Object'.
|
|
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="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" />
|
|
<error line="33" column="37" severity="error" message="Property 'isLoading' is missing in type '{ parentName: string; parentClassName: string; }' but required in type '{ parentName: string; parentClassName: string; isLoading: boolean; }'." source="TS2741" />
|
|
</file>
|
|
<file name="assets/js/base/hooks/use-container-queries.ts">
|
|
<error line="36" column="7" severity="error" message="Object is possibly 'null'." source="TS2531" />
|
|
<error line="38" column="14" severity="error" message="Object is possibly 'null'." source="TS2531" />
|
|
<error line="40" column="14" severity="error" message="Object is possibly 'null'." source="TS2531" />
|
|
</file>
|
|
<file name="assets/js/base/hooks/use-position-relative-to-viewport.js">
|
|
<error line="26" column="13" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="75" column="24" severity="error" message="Argument of type 'null' is not assignable to parameter of type 'Element'." source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/base/hooks/use-spacing-props.ts">
|
|
<error line="5" column="10" severity="error" message="Module '"@wordpress/block-editor"' has no exported member '__experimentalGetSpacingClassesAndStyles'." source="TS2305" />
|
|
</file>
|
|
<file name="assets/js/base/hooks/use-color-props.ts">
|
|
<error line="5" column="10" severity="error" message="Module '"@wordpress/block-editor"' has no exported member '__experimentalUseColorProps'." source="TS2305" />
|
|
</file>
|
|
<file name="assets/js/base/hooks/use-border-props.ts">
|
|
<error line="5" column="10" severity="error" message="Module '"@wordpress/block-editor"' has no exported member '__experimentalUseBorderProps'." source="TS2305" />
|
|
</file>
|
|
<file name="assets/js/base/context/providers/editor-context.js">
|
|
<error line="8" column="56" severity="error" message="Namespace '"/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/types/type-defs/contexts"' has no exported member 'EditorDataContext'." source="TS2694" />
|
|
<error line="9" column="52" severity="error" message="Namespace '"/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/types/type-defs/cart"' has no exported member 'CartData'." source="TS2694" />
|
|
<error line="59" column="12" severity="error" message="Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Object'." source="TS7053" />
|
|
</file>
|
|
<file name="assets/js/base/context/hooks/cart/use-store-cart-event-listeners.ts">
|
|
<error line="20" column="23" severity="error" message="Parameter 'e' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="23" column="24" severity="error" message="Property 'invalidateResolutionForStore' does not exist on type 'DispatchFromMap<typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/data/cart/actions")>'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/base/context/hooks/cart/use-store-cart.ts">
|
|
<error line="74" column="2" severity="error" message="Type '""' is not assignable to type 'CurrencyCode'." source="TS2322" />
|
|
<error line="146" column="3" severity="error" message="Argument of type '(select: any, { dispatch }: { dispatch: any; }) => StoreCart | { cartCoupons: any; cartItems: any; crossSellsProducts: any; cartFees: any; cartItemsCount: any; cartItemsWeight: any; cartNeedsPayment: any; ... 13 more ...; receiveCart: any; } | { ...; }' is not assignable to parameter of type '(s: { (storeNameOrDescriptor: string | StoreDescriptor): SelectorMap; (key: "core/rich-text"): typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@types/wordpress__rich-text/store/selectors"); (key: "core/notices"): typeof import("/home/runner/work/woocommerce-blocks/woocommerce-bloc...'." source="TS2345" />
|
|
<error line="146" column="5" severity="error" message="Parameter 'select' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="146" column="15" severity="error" message="Binding element 'dispatch' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="227" column="44" severity="error" message="Argument of type 'Record<string, unknown>' is not assignable to parameter of type 'CartResponseShippingAddress | CartResponseBillingAddress'.
|
|
Type 'Record<string, unknown>' is missing the following properties from type 'CartResponseBillingAddress': email, company, phone, address_1, and 7 more." source="TS2345" />
|
|
<error line="228" column="47" severity="error" message="Argument of type 'Record<string, unknown>' is not assignable to parameter of type 'CartResponseShippingAddress | CartResponseBillingAddress'." source="TS2345" />
|
|
<error line="229" column="48" severity="error" message="Argument of type 'Record<string, unknown>' is not assignable to parameter of type 'CartResponseShippingAddress | CartResponseBillingAddress'." source="TS2345" />
|
|
<error line="245" column="3" severity="error" message="Type 'StoreCart' is not assignable to type 'undefined'." source="TS2322" />
|
|
<error line="248" column="2" severity="error" message="Type 'undefined' is not assignable to type 'StoreCart'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/base/context/hooks/cart/use-store-cart-coupons.ts">
|
|
<error line="41" column="3" severity="error" message="Type '"applyCoupon" | "removeCoupon" | "receiveApplyingCoupon" | "isApplyingCoupon" | "isRemovingCoupon"' does not satisfy the constraint 'keyof StoreCartCoupon'.
|
|
Type '"receiveApplyingCoupon"' is not assignable to type 'keyof StoreCartCoupon'." source="TS2344" />
|
|
<error line="47" column="3" severity="error" message="Argument of type '(select: any, { dispatch }: { dispatch: any; }) => { applyCoupon: any; removeCoupon: any; isApplyingCoupon: any; isRemovingCoupon: any; receiveApplyingCoupon: any; }' is not assignable to parameter of type '(s: { (storeNameOrDescriptor: string | StoreDescriptor): SelectorMap; (key: "core/rich-text"): typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@types/wordpress__rich-text/store/selectors"); (key: "core/notices"): typeof import("/home/runner/work/woocommerce-blocks/woocommerce-bloc...'." source="TS2345" />
|
|
<error line="47" column="5" severity="error" message="Parameter 'select' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="47" column="15" severity="error" message="Binding element 'dispatch' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="64" column="5" severity="error" message="Property 'then' does not exist on type 'void'." source="TS2339" />
|
|
<error line="64" column="13" severity="error" message="Parameter 'result' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="84" column="14" severity="error" message="Parameter 'error' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="92" column="5" severity="error" message="Cannot find name 'receiveApplyingCoupon'." source="TS2304" />
|
|
<error line="98" column="5" severity="error" message="Property 'then' does not exist on type 'void'." source="TS2339" />
|
|
<error line="98" column="13" severity="error" message="Parameter 'result' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="118" column="14" severity="error" message="Parameter 'error' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="124" column="5" severity="error" message="Cannot find name 'receiveApplyingCoupon'." source="TS2304" />
|
|
</file>
|
|
<file name="assets/js/base/context/hooks/cart/use-store-cart-item-quantity.ts">
|
|
<error line="149" column="3" severity="error" message="Type '() => Promise<boolean> | Promise<void>' is not assignable to type '() => Promise<boolean>'.
|
|
Type 'Promise<boolean> | Promise<void>' is not assignable to type 'Promise<boolean>'.
|
|
Type 'Promise<void>' is not assignable to type 'Promise<boolean>'.
|
|
Type 'void' is not assignable to type 'boolean'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/base/context/hooks/use-query-state.js">
|
|
<error line="28" column="13" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="131" column="5" severity="error" message="Argument of type 'Object | undefined' is not assignable to parameter of type 'any[] | ComparableObject'.
|
|
Type 'undefined' is not assignable to type 'any[] | ComparableObject'." source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/base/context/hooks/collections/use-collection.ts">
|
|
<error line="103" column="35" severity="error" message="Cannot find name 'T'." source="TS2304" />
|
|
</file>
|
|
<file name="assets/js/base/context/hooks/collections/use-collection-data.ts">
|
|
<error line="87" column="7" severity="error" message="Parameter 'attribute' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/base/context/hooks/shipping/use-shipping-data.ts">
|
|
<error line="55" column="33" severity="error" message="Argument of type 'CartResponseShippingRate[]' is not assignable to parameter of type 'CartShippingRate[]'." source="TS2345" />
|
|
<error line="68" column="3" severity="error" message="Type 'CartResponseShippingRate[]' is not assignable to type 'CartShippingRate[]'.
|
|
Type 'CartResponseShippingRate' is not assignable to type 'CartShippingRate'.
|
|
Types of property 'package_id' are incompatible.
|
|
Type 'string | number' is not assignable to type 'number'.
|
|
Type 'string' is not assignable to type 'number'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/base/context/hooks/use-checkout-notices.js">
|
|
<error line="12" column="56" severity="error" message="Namespace '"/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/types/type-defs/contexts"' has no exported member 'StoreNoticeObject'." source="TS2694" />
|
|
<error line="13" column="53" severity="error" message="Namespace '"/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/types/type-defs/hooks"' has no exported member 'CheckoutNotices'." source="TS2694" />
|
|
</file>
|
|
<file name="assets/js/base/context/providers/cart-checkout/shipping/constants.js">
|
|
<error line="2" column="56" severity="error" message="Namespace '"/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/types/type-defs/contexts"' has no exported member 'ShippingErrorTypes'." source="TS2694" />
|
|
<error line="3" column="56" severity="error" message="Namespace '"/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/types/type-defs/shipping"' has no exported member 'ShippingAddress'." source="TS2694" />
|
|
<error line="4" column="56" severity="error" message="Namespace '"/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/types/type-defs/contexts"' has no exported member 'ShippingDataContext'." source="TS2694" />
|
|
</file>
|
|
<file name="assets/js/base/context/providers/cart-checkout/shipping/utils.js">
|
|
<error line="6" column="44" severity="error" message="Parameter 'errors' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="7" column="24" severity="error" message="Parameter 'error' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/base/context/providers/cart-checkout/shipping/event-emit.js">
|
|
<error line="25" column="65" severity="error" message="Argument of type 'Function' is not assignable to parameter of type 'Dispatch<ActionType>'.
|
|
Type 'Function' provides no match for the signature '(value: ActionType): void'." source="TS2345" />
|
|
<error line="26" column="59" severity="error" message="Argument of type 'Function' is not assignable to parameter of type 'Dispatch<ActionType>'." source="TS2345" />
|
|
<error line="29" column="3" severity="error" message="Argument of type 'Function' is not assignable to parameter of type 'Dispatch<ActionType>'." source="TS2345" />
|
|
<error line="33" column="3" severity="error" message="Argument of type 'Function' is not assignable to parameter of type 'Dispatch<ActionType>'." source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/base/context/providers/cart-checkout/shipping/index.js">
|
|
<error line="32" column="56" severity="error" message="Namespace '"/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/types/type-defs/contexts"' has no exported member 'ShippingDataContext'." source="TS2694" />
|
|
<error line="67" column="42" severity="error" message="Property 'onSuccess' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="68" column="61" severity="error" message="Property 'onFail' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="70" column="42" severity="error" message="Property 'onSelectSuccess' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="72" column="42" severity="error" message="Property 'onSelectFail' does not exist on type 'Object'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/base/context/hooks/use-store-add-to-cart.ts">
|
|
<error line="93" column="3" severity="error" message="Type '(quantity?: number) => Promise<void>' is not assignable to type '(quantity?: number | undefined) => Promise<boolean>'.
|
|
Type 'Promise<void>' is not assignable to type 'Promise<boolean>'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/base/context/providers/add-to-cart-form/form-state/actions.js">
|
|
<error line="42" column="27" severity="error" message="Parameter 'data' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="50" column="17" severity="error" message="Parameter 'quantity' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="54" column="22" severity="error" message="Parameter 'data' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/base/context/providers/add-to-cart-form/form-state/reducer.js">
|
|
<error line="46" column="11" severity="error" message="Property 'status' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="55" column="11" severity="error" message="Property 'status' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="64" column="24" severity="error" message="Property 'quantity' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="75" column="15" severity="error" message="Property 'requestParams' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="88" column="11" severity="error" message="Property 'status' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="97" column="14" severity="error" message="Property 'hasError' does not exist on type 'Object | { status: string; hasError: boolean; constructor: Function; toString(): string; toLocaleString(): string; valueOf(): Object; hasOwnProperty(v: PropertyKey): boolean; isPrototypeOf(v: Object): boolean; propertyIsEnumerable(v: PropertyKey): boolean; }'.
|
|
Property 'hasError' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="103" column="11" severity="error" message="Property 'status' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="113" column="11" severity="error" message="Property 'status' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="121" column="21" severity="error" message="Property 'hasError' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="128" column="11" severity="error" message="Property 'status' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="129" column="11" severity="error" message="Property 'status' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="137" column="21" severity="error" message="Property 'hasError' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="149" column="3" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="149" column="12" severity="error" message="Property 'status' does not exist on type 'Object | { status: string; hasError: boolean; constructor: Function; toString(): string; toLocaleString(): string; valueOf(): Object; hasOwnProperty(v: PropertyKey): boolean; isPrototypeOf(v: Object): boolean; propertyIsEnumerable(v: PropertyKey): boolean; } | ... 4 more ... | { ...; }'.
|
|
Property 'status' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="151" column="3" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="151" column="12" severity="error" message="Property 'status' does not exist on type 'Object | { status: string; hasError: boolean; constructor: Function; toString(): string; toLocaleString(): string; valueOf(): Object; hasOwnProperty(v: PropertyKey): boolean; isPrototypeOf(v: Object): boolean; propertyIsEnumerable(v: PropertyKey): boolean; } | ... 4 more ... | { ...; }'.
|
|
Property 'status' does not exist on type 'Object'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/base/context/providers/add-to-cart-form/form-state/event-emit.js">
|
|
<error line="34" column="3" severity="error" message="Argument of type 'Function' is not assignable to parameter of type 'Dispatch<ActionType>'." source="TS2345" />
|
|
<error line="38" column="3" severity="error" message="Argument of type 'Function' is not assignable to parameter of type 'Dispatch<ActionType>'." source="TS2345" />
|
|
<error line="42" column="3" severity="error" message="Argument of type 'Function' is not assignable to parameter of type 'Dispatch<ActionType>'." source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/base/context/providers/add-to-cart-form/form-state/index.js">
|
|
<error line="39" column="56" severity="error" message="Namespace '"/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/types/type-defs/contexts"' has no exported member 'AddToCartFormContext'." source="TS2694" />
|
|
<error line="60" column="44" severity="error" message="Parameter 'callback' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="61" column="42" severity="error" message="Parameter 'callback' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="62" column="34" severity="error" message="Parameter 'callback' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="67" column="18" severity="error" message="Parameter 'quantity' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="68" column="18" severity="error" message="Parameter 'hasError' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="69" column="25" severity="error" message="Parameter 'response' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="70" column="23" severity="error" message="Parameter 'data' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="113" column="7" severity="error" message="Property 'onAddToCartAfterProcessingWithSuccess' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="116" column="7" severity="error" message="Property 'onAddToCartAfterProcessingWithError' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="119" column="7" severity="error" message="Property 'onAddToCartBeforeProcessing' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="129" column="36" severity="error" message="Argument of type '{ type: string; }' is not assignable to parameter of type '{ quantity: number; type: string; data: Object; }'.
|
|
Type '{ type: string; }' is missing the following properties from type '{ quantity: number; type: string; data: Object; }': quantity, data" source="TS2345" />
|
|
<error line="130" column="37" severity="error" message="Argument of type '{ type: string; }' is not assignable to parameter of type '{ quantity: number; type: string; data: Object; }'.
|
|
Type '{ type: string; }' is missing the following properties from type '{ quantity: number; type: string; data: Object; }': quantity, data" source="TS2345" />
|
|
<error line="132" column="20" severity="error" message="Argument of type '{ type: string; quantity: any; }' is not assignable to parameter of type '{ quantity: number; type: string; data: Object; }'.
|
|
Property 'data' is missing in type '{ type: string; quantity: any; }' but required in type '{ quantity: number; type: string; data: Object; }'." source="TS2345" />
|
|
<error line="134" column="20" severity="error" message="Argument of type '{ type: string; }' is not assignable to parameter of type '{ quantity: number; type: string; data: Object; }'.
|
|
Type '{ type: string; }' is missing the following properties from type '{ quantity: number; type: string; data: Object; }': quantity, data" source="TS2345" />
|
|
<error line="136" column="20" severity="error" message="Argument of type '{ type: string; data: any; }' is not assignable to parameter of type '{ quantity: number; type: string; data: Object; }'.
|
|
Property 'quantity' is missing in type '{ type: string; data: any; }' but required in type '{ quantity: number; type: string; data: Object; }'." source="TS2345" />
|
|
<error line="138" column="15" severity="error" message="Argument of type '{ type: string; data: any; }' is not assignable to parameter of type '{ quantity: number; type: string; data: Object; }'.
|
|
Property 'quantity' is missing in type '{ type: string; data: any; }' but required in type '{ quantity: number; type: string; data: Object; }'." source="TS2345" />
|
|
<error line="139" column="20" severity="error" message="Argument of type '{ type: string; }' is not assignable to parameter of type '{ quantity: number; type: string; data: Object; }'.
|
|
Type '{ type: string; }' is missing the following properties from type '{ quantity: number; type: string; data: Object; }': quantity, data" source="TS2345" />
|
|
<error line="149" column="18" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="149" column="37" severity="error" message="Property 'status' does not exist on type 'Object | { status: string; constructor: Function; toString(): string; toLocaleString(): string; valueOf(): Object; hasOwnProperty(v: PropertyKey): boolean; isPrototypeOf(v: Object): boolean; propertyIsEnumerable(v: PropertyKey): boolean; } | ... 4 more ... | { ...; }'.
|
|
Property 'status' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="151" column="6" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="151" column="14" severity="error" message="Property 'id' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="151" column="44" severity="error" message="Argument of type 'Object | undefined' is not assignable to parameter of type 'Object'.
|
|
Type 'undefined' is not assignable to type 'Object'." source="TS2345" />
|
|
<error line="154" column="14" severity="error" message="Argument of type '{ type: string; }' is not assignable to parameter of type '{ quantity: number; type: string; data: Object; }'.
|
|
Type '{ type: string; }' is missing the following properties from type '{ quantity: number; type: string; data: Object; }': quantity, data" source="TS2345" />
|
|
<error line="156" column="14" severity="error" message="Argument of type '{ type: string; }' is not assignable to parameter of type '{ quantity: number; type: string; data: Object; }'.
|
|
Type '{ type: string; }' is missing the following properties from type '{ quantity: number; type: string; data: Object; }': quantity, data" source="TS2345" />
|
|
<error line="158" column="7" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="158" column="26" severity="error" message="Property 'status' does not exist on type 'Object | { status: string; constructor: Function; toString(): string; toLocaleString(): string; valueOf(): Object; hasOwnProperty(v: PropertyKey): boolean; isPrototypeOf(v: Object): boolean; propertyIsEnumerable(v: PropertyKey): boolean; } | ... 4 more ... | { ...; }'.
|
|
Property 'status' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="164" column="18" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="164" column="37" severity="error" message="Property 'status' does not exist on type 'Object | { status: string; constructor: Function; toString(): string; toLocaleString(): string; valueOf(): Object; hasOwnProperty(v: PropertyKey): boolean; isPrototypeOf(v: Object): boolean; propertyIsEnumerable(v: PropertyKey): boolean; } | ... 4 more ... | { ...; }'.
|
|
Property 'status' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="188" column="16" severity="error" message="Argument of type '{ type: string; }' is not assignable to parameter of type '{ quantity: number; type: string; data: Object; }'." source="TS2345" />
|
|
<error line="190" column="16" severity="error" message="Argument of type '{ type: string; }' is not assignable to parameter of type '{ quantity: number; type: string; data: Object; }'.
|
|
Type '{ type: string; }' is missing the following properties from type '{ quantity: number; type: string; data: Object; }': quantity, data" source="TS2345" />
|
|
<error line="195" column="3" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="195" column="22" severity="error" message="Property 'status' does not exist on type 'Object | { status: string; constructor: Function; toString(): string; toLocaleString(): string; valueOf(): Object; hasOwnProperty(v: PropertyKey): boolean; isPrototypeOf(v: Object): boolean; propertyIsEnumerable(v: PropertyKey): boolean; } | ... 4 more ... | { ...; }'.
|
|
Property 'status' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="200" column="12" severity="error" message="Property 'id' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="207" column="8" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="207" column="27" severity="error" message="Property 'status' does not exist on type 'Object | { status: string; constructor: Function; toString(): string; toLocaleString(): string; valueOf(): Object; hasOwnProperty(v: PropertyKey): boolean; isPrototypeOf(v: Object): boolean; propertyIsEnumerable(v: PropertyKey): boolean; } | ... 4 more ... | { ...; }'.
|
|
Property 'status' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="213" column="25" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="213" column="44" severity="error" message="Property 'processingResponse' does not exist on type 'Object | { status: string; constructor: Function; toString(): string; toLocaleString(): string; valueOf(): Object; hasOwnProperty(v: PropertyKey): boolean; isPrototypeOf(v: Object): boolean; propertyIsEnumerable(v: PropertyKey): boolean; } | ... 4 more ... | { ...; }'.
|
|
Property 'processingResponse' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="216" column="34" severity="error" message="Parameter 'observerResponses' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="218" column="34" severity="error" message="Parameter 'response' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="235" column="9" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="235" column="28" severity="error" message="Property 'hasError' does not exist on type 'Object | { status: string; constructor: Function; toString(): string; toLocaleString(): string; valueOf(): Object; hasOwnProperty(v: PropertyKey): boolean; isPrototypeOf(v: Object): boolean; propertyIsEnumerable(v: PropertyKey): boolean; } | ... 4 more ... | { ...; }'.
|
|
Property 'hasError' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="253" column="18" severity="error" message="Property 'id' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="257" column="16" severity="error" message="Argument of type '{ type: string; }' is not assignable to parameter of type '{ quantity: number; type: string; data: Object; }'." source="TS2345" />
|
|
<error line="271" column="16" severity="error" message="Argument of type '{ type: string; }' is not assignable to parameter of type '{ quantity: number; type: string; data: Object; }'." source="TS2345" />
|
|
<error line="273" column="16" severity="error" message="Argument of type '{ type: string; }' is not assignable to parameter of type '{ quantity: number; type: string; data: Object; }'." source="TS2345" />
|
|
<error line="278" column="3" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="278" column="22" severity="error" message="Property 'status' does not exist on type 'Object | { status: string; constructor: Function; toString(): string; toLocaleString(): string; valueOf(): Object; hasOwnProperty(v: PropertyKey): boolean; isPrototypeOf(v: Object): boolean; propertyIsEnumerable(v: PropertyKey): boolean; } | ... 4 more ... | { ...; }'.
|
|
Property 'status' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="279" column="3" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="279" column="22" severity="error" message="Property 'hasError' does not exist on type 'Object | { status: string; constructor: Function; toString(): string; toLocaleString(): string; valueOf(): Object; hasOwnProperty(v: PropertyKey): boolean; isPrototypeOf(v: Object): boolean; propertyIsEnumerable(v: PropertyKey): boolean; } | ... 4 more ... | { ...; }'.
|
|
Property 'hasError' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="280" column="3" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="280" column="22" severity="error" message="Property 'processingResponse' does not exist on type 'Object | { status: string; constructor: Function; toString(): string; toLocaleString(): string; valueOf(): Object; hasOwnProperty(v: PropertyKey): boolean; isPrototypeOf(v: Object): boolean; propertyIsEnumerable(v: PropertyKey): boolean; } | ... 4 more ... | { ...; }'.
|
|
Property 'processingResponse' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="284" column="12" severity="error" message="Property 'id' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="287" column="61" severity="error" message="Argument of type 'Object | undefined' is not assignable to parameter of type 'Object'.
|
|
Type 'undefined' is not assignable to type 'Object'." source="TS2345" />
|
|
<error line="294" column="16" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="294" column="24" severity="error" message="Property 'type' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="295" column="47" severity="error" message="Argument of type 'Object | undefined' is not assignable to parameter of type 'Object'.
|
|
Type 'undefined' is not assignable to type 'Object'." source="TS2345" />
|
|
<error line="296" column="22" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="296" column="30" severity="error" message="Property 'has_options' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="300" column="4" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="300" column="23" severity="error" message="Property 'quantity' does not exist on type 'Object | { status: string; constructor: Function; toString(): string; toLocaleString(): string; valueOf(): Object; hasOwnProperty(v: PropertyKey): boolean; isPrototypeOf(v: Object): boolean; propertyIsEnumerable(v: PropertyKey): boolean; } | ... 4 more ... | { ...; }'.
|
|
Property 'quantity' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="300" column="44" severity="error" message="Property 'add_to_cart' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="301" column="25" severity="error" message="Property 'add_to_cart' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="302" column="25" severity="error" message="Property 'add_to_cart' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="303" column="24" severity="error" message="Property 'add_to_cart' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="304" column="18" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="304" column="37" severity="error" message="Property 'requestParams' does not exist on type 'Object | { status: string; constructor: Function; toString(): string; toLocaleString(): string; valueOf(): Object; hasOwnProperty(v: PropertyKey): boolean; isPrototypeOf(v: Object): boolean; propertyIsEnumerable(v: PropertyKey): boolean; } | ... 4 more ... | { ...; }'.
|
|
Property 'requestParams' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="305" column="11" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="305" column="30" severity="error" message="Property 'status' does not exist on type 'Object | { status: string; constructor: Function; toString(): string; toLocaleString(): string; valueOf(): Object; hasOwnProperty(v: PropertyKey): boolean; isPrototypeOf(v: Object): boolean; propertyIsEnumerable(v: PropertyKey): boolean; } | ... 4 more ... | { ...; }'.
|
|
Property 'status' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="306" column="15" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="306" column="34" severity="error" message="Property 'status' does not exist on type 'Object | { status: string; constructor: Function; toString(): string; toLocaleString(): string; valueOf(): Object; hasOwnProperty(v: PropertyKey): boolean; isPrototypeOf(v: Object): boolean; propertyIsEnumerable(v: PropertyKey): boolean; } | ... 4 more ... | { ...; }'.
|
|
Property 'status' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="307" column="17" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="307" column="36" severity="error" message="Property 'status' does not exist on type 'Object | { status: string; constructor: Function; toString(): string; toLocaleString(): string; valueOf(): Object; hasOwnProperty(v: PropertyKey): boolean; isPrototypeOf(v: Object): boolean; propertyIsEnumerable(v: PropertyKey): boolean; } | ... 4 more ... | { ...; }'.
|
|
Property 'status' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="309" column="4" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="309" column="23" severity="error" message="Property 'status' does not exist on type 'Object | { status: string; constructor: Function; toString(): string; toLocaleString(): string; valueOf(): Object; hasOwnProperty(v: PropertyKey): boolean; isPrototypeOf(v: Object): boolean; propertyIsEnumerable(v: PropertyKey): boolean; } | ... 4 more ... | { ...; }'.
|
|
Property 'status' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="311" column="4" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="311" column="23" severity="error" message="Property 'status' does not exist on type 'Object | { status: string; constructor: Function; toString(): string; toLocaleString(): string; valueOf(): Object; hasOwnProperty(v: PropertyKey): boolean; isPrototypeOf(v: Object): boolean; propertyIsEnumerable(v: PropertyKey): boolean; } | ... 4 more ... | { ...; }'.
|
|
Property 'status' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="312" column="13" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="312" column="32" severity="error" message="Property 'hasError' does not exist on type 'Object | { status: string; constructor: Function; toString(): string; toLocaleString(): string; valueOf(): Object; hasOwnProperty(v: PropertyKey): boolean; isPrototypeOf(v: Object): boolean; propertyIsEnumerable(v: PropertyKey): boolean; } | ... 4 more ... | { ...; }'.
|
|
Property 'hasError' does not exist on type 'Object'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/base/context/providers/add-to-cart-form/form/submit/index.js">
|
|
<error line="88" column="18" severity="error" message="Property 'setNonce' does not exist on type 'typeof apiFetch'." source="TS2339" />
|
|
<error line="91" column="43" severity="error" message="Parameter 'response' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="128" column="35" severity="error" message="Parameter 'response' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/base/context/providers/cart-checkout/checkout-processor.js">
|
|
<error line="172" column="7" severity="error" message="Variable 'unsubscribeProcessing' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="181" column="5" severity="error" message="Variable 'unsubscribeProcessing' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="227" column="9" severity="error" message="Property 'shipping_address' does not exist on type '{ extensions: { [x: string]: Record<string, unknown>; }; payment_method: string | undefined; payment_data: { key: string; value: unknown; }[]; billing_address: BillingAddress; customer_note: string; create_account: boolean; } | { ...; }'.
|
|
Property 'shipping_address' does not exist on type '{ extensions: { [x: string]: Record<string, unknown>; }; payment_method: string | undefined; payment_data: { key: string; value: unknown; }[]; billing_address: BillingAddress; customer_note: string; create_account: boolean; }'." source="TS2339" />
|
|
<error line="256" column="35" severity="error" message="Parameter 'response' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="266" column="9" severity="error" message="Argument of type '{ id: string; context: string; __unstableHTML: boolean; }' is not assignable to parameter of type 'Partial<Options>'.
|
|
Object literal may only specify known properties, and '__unstableHTML' does not exist in type 'Partial<Options>'." source="TS2345" />
|
|
<error line="270" column="10" severity="error" message="Parameter 'additionalError' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="274" column="10" severity="error" message="Argument of type '{ id: any; context: string; __unstableHTML: boolean; }' is not assignable to parameter of type 'Partial<Options>'.
|
|
Object literal may only specify known properties, and '__unstableHTML' does not exist in type 'Partial<Options>'." source="TS2345" />
|
|
<error line="297" column="8" severity="error" message="Argument of type '{ id: string; context: string; __unstableHTML: boolean; }' is not assignable to parameter of type 'Partial<Options>'.
|
|
Object literal may only specify known properties, and '__unstableHTML' does not exist in type 'Partial<Options>'." source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/base/context/providers/cart-checkout/checkout-provider.js">
|
|
<error line="4" column="28" severity="error" message="Could not find a declaration file for module '@wordpress/plugins'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@wordpress/plugins/build/index.js' implicitly has an 'any' type.
|
|
Try `npm i --save-dev @types/wordpress__plugins` if it exists or add a new declaration (.d.ts) file containing `declare module '@wordpress/plugins';`" source="TS7016" />
|
|
<error line="30" column="27" severity="error" message="Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'." source="TS2322" />
|
|
<error line="31" column="4" severity="error" message="Type 'Element' is missing the following properties from type 'ReactChildren': map, forEach, count, only, toArray" source="TS2739" />
|
|
<error line="38" column="8" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(props: BlockErrorBoundaryProps | Readonly<BlockErrorBoundaryProps>): BlockErrorBoundary', gave the following error.
|
|
Type '(() => null) | null' is not assignable to type '(props: RenderErrorProps) => ReactNode'.
|
|
Type 'null' is not assignable to type '(props: RenderErrorProps) => ReactNode'.
|
|
Overload 2 of 2, '(props: BlockErrorBoundaryProps, context: any): BlockErrorBoundary', gave the following error.
|
|
Type '(() => null) | null' is not assignable to type '(props: RenderErrorProps) => ReactNode'.
|
|
Type 'null' is not assignable to type '(props: RenderErrorProps) => ReactNode'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/base/context/providers/cart-checkout/cart/index.js">
|
|
<error line="20" column="4" severity="error" message="Type 'Object | undefined' is not assignable to type 'Object'.
|
|
Type 'undefined' is not assignable to type 'Object'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/base/context/providers/store-snackbar-notices/components/snackbar-notices-container.js">
|
|
<error line="5" column="30" severity="error" message="Could not find a declaration file for module 'wordpress-components'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/wordpress-components/build/index.js' implicitly has an 'any' type.
|
|
If the '@wordpress/components' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__components'" source="TS7016" />
|
|
<error line="18" column="2" severity="error" message="Binding element 'className' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="42" column="6" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'." source="TS7053" />
|
|
<error line="53" column="17" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'." source="TS7053" />
|
|
</file>
|
|
<file name="assets/js/base/context/providers/container-width-context.js">
|
|
<error line="10" column="56" severity="error" message="Namespace '"/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/types/type-defs/contexts"' has no exported member 'ContainerWidthContext'." source="TS2694" />
|
|
</file>
|
|
<file name="assets/js/base/context/providers/index.js">
|
|
<error line="5" column="1" severity="error" message="Module './cart-checkout' has already exported a member named 'React'. Consider explicitly re-exporting to resolve the ambiguity." source="TS2308" />
|
|
</file>
|
|
<file name="assets/js/base/context/hooks/use-checkout-extension-data.ts">
|
|
<error line="12" column="15" severity="error" message="Module '"../../../data/checkout/types"' declares 'CheckoutState' locally, but it is not exported." source="TS2459" />
|
|
</file>
|
|
<file name="assets/js/shared/hocs/with-product-data-context.js">
|
|
<error line="16" column="10" severity="error" message="Property 'productId' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="16" column="21" severity="error" message="Property 'OriginalComponent' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="16" column="40" severity="error" message="Property 'postId' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="16" column="48" severity="error" message="Property 'product' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="18" column="20" severity="error" message="Property 'isDescendentOfQueryLoop' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="21" column="3" severity="error" message="Argument of type '{ include: any; }' is not assignable to parameter of type 'Query'.
|
|
Object literal may only specify known properties, and 'include' does not exist in type 'Query'." source="TS2345" />
|
|
<error line="54" column="11" severity="error" message="Parameter 'props' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/shared/hocs/with-filtered-attributes.js">
|
|
<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/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" />
|
|
<error line="102" column="3" severity="error" message="Property 'add_to_cart' does not exist on type 'Object | undefined'." source="TS2339" />
|
|
<error line="103" column="3" severity="error" message="Property 'has_options' does not exist on type 'Object | undefined'." source="TS2339" />
|
|
<error line="104" column="3" severity="error" message="Property 'is_purchasable' does not exist on type 'Object | undefined'." source="TS2339" />
|
|
<error line="105" column="3" severity="error" message="Property 'is_in_stock' does not exist on type 'Object | undefined'." source="TS2339" />
|
|
<error line="110" column="3" severity="error" message="Expected 1 arguments, but got 2." source="TS2554" />
|
|
<error line="168" column="5" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="168" column="17" severity="error" message="Property 'className' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="169" column="5" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="169" column="18" severity="error" message="Property 'className' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="176" column="8" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="176" column="20" severity="error" message="Property 'style' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="177" column="8" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="177" column="21" severity="error" message="Property 'style' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="178" column="8" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="178" column="25" severity="error" message="Property 'style' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="179" column="8" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="179" column="22" severity="error" message="Property 'style' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="214" column="5" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="214" column="17" severity="error" message="Property 'className' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="215" column="5" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="215" column="18" severity="error" message="Property 'className' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="218" column="8" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="218" column="20" severity="error" message="Property 'style' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="219" column="8" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="219" column="21" severity="error" message="Property 'style' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="220" column="8" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="220" column="25" severity="error" message="Property 'style' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="221" column="8" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="221" column="22" severity="error" message="Property 'style' does not exist on type 'Object'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/base/components/summary/utils.js">
|
|
<error line="4" column="23" severity="error" message="Could not find a declaration file for module '@wordpress/wordcount'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@wordpress/wordcount/build/index.js' implicitly has an 'any' type.
|
|
Try `npm i --save-dev @types/wordpress__wordcount` if it exists or add a new declaration (.d.ts) file containing `declare module '@wordpress/wordcount';`" source="TS7016" />
|
|
</file>
|
|
<file name="assets/js/atomic/blocks/product-elements/add-to-cart/shared/add-to-cart-button.js">
|
|
<error line="120" column="4" severity="error" message="Type '{ children: string; className: string; href: string; onClick: () => any; rel: string; }' is not assignable to type 'IntrinsicAttributes & ButtonProps'.
|
|
Property 'href' does not exist on type 'IntrinsicAttributes & ButtonProps'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/atomic/blocks/product-elements/add-to-cart/shared/quantity-input.js">
|
|
<error line="52" column="14" severity="error" message="Expected 0 arguments, but got 1." source="TS2554" />
|
|
<error line="67" column="15" severity="error" message="Expected 0 arguments, but got 1." source="TS2554" />
|
|
</file>
|
|
<file name="assets/js/atomic/blocks/product-elements/add-to-cart/product-types/variable/variation-attributes/attribute-select-control.js">
|
|
<error line="6" column="31" severity="error" message="Could not find a declaration file for module 'wordpress-components'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/wordpress-components/build/index.js' implicitly has an 'any' type.
|
|
If the '@wordpress/components' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__components'" source="TS7016" />
|
|
</file>
|
|
<file name="assets/js/atomic/blocks/product-elements/add-to-cart/product-types/variable/variation-attributes/utils.js">
|
|
<error line="39" column="13" severity="error" message="Property 'forEach' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="39" column="26" severity="error" message="Binding element 'id' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="39" column="30" severity="error" message="Binding element 'attributes' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="40" column="3" severity="error" message="Element implicitly has an 'any' type because expression of type '`id:${any}`' can't be used to index type '{}'." source="TS7053" />
|
|
<error line="42" column="37" severity="error" message="Parameter 'acc' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="42" column="44" severity="error" message="Binding element 'name' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="42" column="50" severity="error" message="Binding element 'value' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="61" column="13" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="85" column="30" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Object'.
|
|
No index signature with a parameter of type 'string' was found on type 'Object'." source="TS7053" />
|
|
<error line="87" column="5" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Object'.
|
|
No index signature with a parameter of type 'string' was found on type 'Object'." source="TS7053" />
|
|
<error line="131" column="13" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="132" column="13" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="175" column="28" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Object'.
|
|
No index signature with a parameter of type 'string' was found on type 'Object'." source="TS7053" />
|
|
<error line="196" column="8" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Object'.
|
|
No index signature with a parameter of type 'string' was found on type 'Object'." source="TS7053" />
|
|
<error line="202" column="3" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'." source="TS7053" />
|
|
<error line="231" column="24" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
<error line="232" column="6" severity="error" message="Parameter 'term' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="235" column="4" severity="error" message="Element implicitly has an 'any' type because expression of type 'any' can't be used to index type '{}'." source="TS7053" />
|
|
<error line="235" column="19" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
</file>
|
|
<file name="assets/js/atomic/blocks/product-elements/add-to-cart/product-types/variable/variation-attributes/attribute-picker.js">
|
|
<error line="89" column="14" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'." source="TS7053" />
|
|
<error line="102" column="16" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Object'.
|
|
No index signature with a parameter of type 'string' was found on type 'Object'." source="TS7053" />
|
|
<error line="103" column="14" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'." source="TS7053" />
|
|
<error line="104" column="19" severity="error" message="Parameter 'selected' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/atomic/blocks/product-elements/add-to-cart/product-types/variable/variation-attributes/index.js">
|
|
<error line="16" column="44" severity="error" message="Property 'attributes' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="17" column="62" severity="error" message="Property 'variations' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="20" column="23" severity="error" message="Property 'length' does not exist on type '{}'." source="TS2339" />
|
|
<error line="29" column="35" severity="error" message="Property 'setRequestParams' does not exist on type 'Object'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/atomic/blocks/product-elements/add-to-cart/product-types/grouped/group-list/index.js">
|
|
<error line="4" column="29" severity="error" message="Could not find a declaration file for module 'wordpress-components'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/wordpress-components/build/index.js' implicitly has an 'any' type.
|
|
If the '@wordpress/components' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__components'" source="TS7016" />
|
|
</file>
|
|
<file name="assets/js/atomic/blocks/product-elements/save.js">
|
|
<error line="6" column="18" severity="error" message="Binding element 'attributes' implicitly has an 'any' type." source="TS7031" />
|
|
</file>
|
|
<file name="assets/js/atomic/blocks/product-elements/shared/config.tsx">
|
|
<error line="31" column="2" severity="error" message="Type '{ category: string; keywords: string[]; icon: { src: Element; }; supports: { html: false; }; ancestor: string[]; save: ({ attributes }: { attributes: any; }) => Element | null; deprecated: { attributes: {}; save(): null; }[]; }' is not assignable to type 'Omit<BlockConfiguration<{}>, "title" | "attributes">'.
|
|
Object literal may only specify known properties, and 'ancestor' does not exist in type 'Omit<BlockConfiguration<{}>, "title" | "attributes">'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/editor-components/heading-toolbar/heading-level-icon.js">
|
|
<error line="6" column="45" severity="error" message="Binding element 'level' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="26" column="14" severity="error" message="Element implicitly has an 'any' type because expression of type 'any' can't be used to index type '{ 1: string; 2: string; 3: string; 4: string; 5: string; 6: string; }'." source="TS7053" />
|
|
</file>
|
|
<file name="assets/js/editor-components/heading-toolbar/index.js">
|
|
<error line="20" column="22" severity="error" message="Parameter 'targetLevel' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="20" column="35" severity="error" message="Parameter 'selectedLevel' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="20" column="50" severity="error" message="Parameter 'onChange' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/editor-components/search-list-control/search-list-control.tsx">
|
|
<error line="213" column="41" severity="error" message="Argument of type 'boolean | undefined' is not assignable to parameter of type 'boolean'.
|
|
Type 'undefined' is not assignable to type 'boolean'." source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/editor-components/utils/index.js">
|
|
<error line="119" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="149" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="209" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
</file>
|
|
<file name="assets/js/hocs/with-attributes.js">
|
|
<error line="16" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="31" column="11" severity="error" message="Parameter 'props' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="45" column="44" severity="error" message="Parameter 'attribute' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="67" column="17" severity="error" message="Argument of type '{ message: string; type: string; }' is not assignable to parameter of type 'SetStateAction<null>'.
|
|
Type '{ message: string; type: string; }' provides no match for the signature '(prevState: null): null'." source="TS2345" />
|
|
<error line="89" column="33" severity="error" message="Parameter 'term' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="101" column="16" severity="error" message="Argument of type '{ message: string; type: string; }' is not assignable to parameter of type 'SetStateAction<null>'." source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/hocs/with-categories.js">
|
|
<error line="21" column="11" severity="error" message="A spread argument must either have a tuple type or be passed to a rest parameter." source="TS2556" />
|
|
<error line="37" column="4" severity="error" message="Expected 1 arguments, but got 0." source="TS2554" />
|
|
<error line="60" column="6" severity="error" message="Type '{ error: null; isLoading: boolean; categories: never[]; children?: ReactNode; }' is not assignable to type 'InnerProps'.
|
|
'{ error: null; isLoading: boolean; categories: never[]; children?: ReactNode; }' is assignable to the constraint of type 'InnerProps', but 'InnerProps' could be instantiated with a different subtype of constraint '{}'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/hocs/with-category.js">
|
|
<error line="21" column="11" severity="error" message="A spread argument must either have a tuple type or be passed to a rest parameter." source="TS2556" />
|
|
<error line="37" column="23" severity="error" message="Parameter 'prevProps' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="79" column="6" severity="error" message="Type '{ error: null; getCategory: () => void; isLoading: boolean; category: any; children?: ReactNode; }' is not assignable to type 'InnerProps'.
|
|
'{ error: null; getCategory: () => void; isLoading: boolean; category: any; children?: ReactNode; }' is assignable to the constraint of type 'InnerProps', but 'InnerProps' could be instantiated with a different subtype of constraint '{}'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/hocs/with-product.js">
|
|
<error line="33" column="23" severity="error" message="Parameter 'prevProps' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="71" column="6" severity="error" message="Type '{ error: null; getProduct: () => void; isLoading: boolean; product: any; children?: ReactNode; }' is not assignable to type 'InnerProps'.
|
|
'{ error: null; getProduct: () => void; isLoading: boolean; product: any; children?: ReactNode; }' is assignable to the constraint of type 'InnerProps', but 'InnerProps' could be instantiated with a different subtype of constraint '{}'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/hocs/with-product-variations.js">
|
|
<error line="21" column="2" severity="error" message="Argument of type '<InnerProps extends {}>(OriginalComponent: ComponentType<InnerProps>) => typeof WrappedComponent' is not assignable to parameter of type 'HigherOrderComponent<{}>'.
|
|
Type 'typeof WrappedComponent' is not assignable to type 'ComponentType<InnerProps>'.
|
|
Type 'typeof WrappedComponent' is not assignable to type 'ComponentClass<InnerProps, any>'.
|
|
Types of property 'propTypes' are incompatible.
|
|
Type '{ selected: PropTypes.Requireable<any[]>; showVariations: PropTypes.Requireable<boolean>; }' is not assignable to type 'WeakValidationMap<InnerProps>'." source="TS2345" />
|
|
<error line="37" column="24" severity="error" message="Parameter 'prevProps' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="59" column="31" severity="error" message="Element implicitly has an 'any' type because expression of type 'any' can't be used to index type '{}'." source="TS7053" />
|
|
<error line="64" column="8" severity="error" message="Parameter 'findProduct' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="87" column="10" severity="error" message="Parameter 'variation' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="115" column="17" severity="error" message="Parameter 'itemId' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="117" column="29" severity="error" message="Parameter 'p' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="120" column="23" severity="error" message="Parameter 'variationId' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="123" column="8" severity="error" message="Parameter 'p' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="125" column="30" severity="error" message="Binding element 'id' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="168" column="7" severity="error" message="Type '{ error: any; expandedProduct: any; isLoading: any; variations: {}; variationsLoading: boolean; children?: ReactNode; }' is not assignable to type 'InnerProps'.
|
|
'{ error: any; expandedProduct: any; isLoading: any; variations: {}; variationsLoading: boolean; children?: ReactNode; }' is assignable to the constraint of type 'InnerProps', but 'InnerProps' could be instantiated with a different subtype of constraint '{}'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/hocs/with-transform-single-select-to-multiple-select.js">
|
|
<error line="14" column="2" severity="error" message="Argument of type '<InnerProps extends {}>(OriginalComponent: ComponentType<InnerProps>) => typeof WrappedComponent' is not assignable to parameter of type 'HigherOrderComponent<{}>'.
|
|
Type 'typeof WrappedComponent' is not assignable to type 'ComponentType<InnerProps>'.
|
|
Type 'typeof WrappedComponent' is not assignable to type 'ComponentClass<InnerProps, any>'.
|
|
Types of property 'propTypes' are incompatible.
|
|
Type '{ selected: PropTypes.Requireable<string | number>; }' is not assignable to type 'WeakValidationMap<InnerProps>'." source="TS2345" />
|
|
<error line="21" column="7" severity="error" message="Type '{ children?: ReactNode; }' is not assignable to type 'InnerProps'.
|
|
'{ children?: ReactNode; }' is assignable to the constraint of type 'InnerProps', but 'InnerProps' could be instantiated with a different subtype of constraint '{}'." source="TS2322" />
|
|
<error line="23" column="7" severity="error" message="Type '{ selected: any[]; children?: ReactNode; }' is not assignable to type 'InnerProps'.
|
|
'{ selected: any[]; children?: ReactNode; }' is assignable to the constraint of type 'InnerProps', but 'InnerProps' could be instantiated with a different subtype of constraint '{}'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/editor-components/product-control/index.js">
|
|
<error line="19" column="38" severity="error" message="An import path cannot end with a '.tsx' extension. Consider importing '@woocommerce/editor-components/expandable-search-list-item/expandable-search-list-item.js' instead." source="TS2691" />
|
|
<error line="43" column="2" severity="error" message="Binding element 'expandedProduct' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="44" column="2" severity="error" message="Binding element 'error' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="45" column="2" severity="error" message="Binding element 'instanceId' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="46" column="2" severity="error" message="Binding element 'isCompact' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="47" column="2" severity="error" message="Binding element 'isLoading' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="48" column="2" severity="error" message="Binding element 'onChange' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="49" column="2" severity="error" message="Binding element 'onSearch' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="50" column="2" severity="error" message="Binding element 'products' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="51" column="2" severity="error" message="Binding element 'renderItem' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="52" column="2" severity="error" message="Binding element 'selected' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="53" column="2" severity="error" message="Binding element 'showVariations' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="54" column="2" severity="error" message="Binding element 'variations' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="55" column="2" severity="error" message="Binding element 'variationsLoading' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="57" column="37" severity="error" message="Parameter 'args' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="218" column="3" severity="error" message="Argument of type 'ComponentType<Omit<{ expandedProduct: any; error: any; instanceId: any; isCompact: any; isLoading: any; onChange: any; onSearch: any; products: any; renderItem: any; selected: any; showVariations: any; variations: any; variationsLoading: any; }, "instanceId">>' is not assignable to parameter of type 'FunctionComponent<Record<string, unknown>>'.
|
|
Type 'ComponentClass<Omit<{ expandedProduct: any; error: any; instanceId: any; isCompact: any; isLoading: any; onChange: any; onSearch: any; products: any; renderItem: any; selected: any; showVariations: any; variations: any; variationsLoading: any; }, "instanceId">, any>' is not assignable to type 'FunctionComponent<Record<string, unknown>>'.
|
|
Type 'ComponentClass<Omit<{ expandedProduct: any; error: any; instanceId: any; isCompact: any; isLoading: any; onChange: any; onSearch: any; products: any; renderItem: any; selected: any; showVariations: any; variations: any; variationsLoading: any; }, "instanceId">, any>' provides no match for the signature '(props: PropsWithChildren<Record<string, unknown>>, context?: any): ReactElement<any, any> | null'." source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/atomic/blocks/product-elements/shared/with-product-selector.js">
|
|
<error line="23" column="51" severity="error" message="Parameter 'OriginalComponent' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="24" column="11" severity="error" message="Parameter 'props' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="41" column="27" severity="error" message="Property 'icon' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="42" column="28" severity="error" message="Property 'label' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="45" column="25" severity="error" message="Property 'description' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="46" column="28" severity="error" message="Property 'description' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="51" column="9" severity="error" message="Type '{ selected: any; showVariations: true; onChange: (value?: any[]) => void; }' is not assignable to type 'IntrinsicAttributes & { selected: number[]; } & { children?: ReactNode; }'.
|
|
Property 'showVariations' does not exist on type 'IntrinsicAttributes & { selected: number[]; } & { children?: ReactNode; }'." source="TS2322" />
|
|
<error line="52" column="22" severity="error" message="Parameter 'value' implicitly has an 'any[]' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/atomic/blocks/product-elements/title/index.ts">
|
|
<error line="46" column="5" severity="error" message="Type '{ __experimentalSelector?: string; spacing?: Partial<SpacingProps> | { margin: true; __experimentalSkipSerialization: true; } | undefined; typography?: Partial<TypographyProps> | { ...; } | undefined; ... 10 more ...; lock?: boolean | undefined; }' is not assignable to type 'BlockSupports'.
|
|
Types of property 'color' are incompatible.
|
|
Type 'Partial<ColorProps> | { text: true; background: true; link: false; gradients: true; __experimentalSkipSerialization: true; } | undefined' is not assignable to type 'Partial<ColorProps> | undefined'.
|
|
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/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" />
|
|
<error line="13" column="30" severity="error" message="Binding element 'setAttributes' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="13" column="45" severity="error" message="Binding element 'context' implicitly has an 'any' type." source="TS7031" />
|
|
</file>
|
|
<file name="assets/js/atomic/blocks/product-elements/button/index.js">
|
|
<error line="35" 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 '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 '{ 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.
|
|
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.
|
|
Types of property 'edit' are incompatible.
|
|
Type '({ attributes, setAttributes, context }: { attributes: any; setAttributes: any; context: any; }) => Element' is not assignable to type 'ComponentType<BlockEditProps<{}>> | undefined'.
|
|
Type '({ attributes, setAttributes, context }: { attributes: any; setAttributes: any; context: any; }) => Element' is not assignable to type 'FunctionComponent<BlockEditProps<{}>>'.
|
|
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" />
|
|
</file>
|
|
<file name="assets/js/atomic/blocks/product-elements/category-list/index.ts">
|
|
<error line="36" column="5" severity="error" message="Type '{ color?: { text: true; link: true; background: false; __experimentalSkipSerialization: true; }; typography?: { fontSize: true; lineHeight: true; __experimentalFontStyle: true; __experimentalFontWeight: true; __experimentalSkipSerialization: true; }; __experimentalSelector?: string; }' is not assignable to type 'BlockSupports'.
|
|
Types of property 'color' are incompatible.
|
|
Type '{ text: true; link: true; background: false; __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" />
|
|
<error line="49" column="2" severity="error" message="Type '({ attributes }: Props) => JSX.Element' is not assignable to type 'ComponentType<BlockSaveProps<{}>>'.
|
|
Type '({ attributes }: Props) => JSX.Element' is not assignable to type 'FunctionComponent<BlockSaveProps<{}>>'.
|
|
Types of parameters '__0' and 'props' are incompatible.
|
|
Type 'PropsWithChildren<BlockSaveProps<{}>>' is not assignable to type 'Props'.
|
|
Types of property 'attributes' are incompatible.
|
|
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" />
|
|
<error line="37" column="33" severity="error" message="Type '{ id: number; name: string; permalink: string; }' is not assignable to type 'ProductResponseItem'." source="TS2322" />
|
|
<error line="38" column="7" severity="error" message="Type '{ showProductLink: true; }' is missing the following properties from type 'Attributes': headingLevel, align" source="TS2739" />
|
|
<error line="45" column="12" severity="error" message="Object is possibly 'null'." source="TS2531" />
|
|
<error line="46" column="12" severity="error" message="Object is possibly 'null'." source="TS2531" />
|
|
<error line="51" column="33" severity="error" message="Type '{ id: number; name: string; permalink: string; }' is not assignable to type 'ProductResponseItem'." source="TS2322" />
|
|
<error line="52" column="7" severity="error" message="Type '{ showProductLink: true; linkTarget: string; }' is missing the following properties from type 'Attributes': headingLevel, align" source="TS2739" />
|
|
<error line="59" column="12" severity="error" message="Object is possibly 'null'." source="TS2531" />
|
|
<error line="60" column="12" severity="error" message="Object is possibly 'null'." source="TS2531" />
|
|
</file>
|
|
<file name="assets/js/atomic/utils/create-blocks-from-template.js">
|
|
<error line="9" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="11" column="14" severity="error" message="'createBlocksFromTemplate' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions." source="TS7023" />
|
|
<error line="13" column="9" severity="error" message="'children' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer." source="TS7022" />
|
|
</file>
|
|
<file name="assets/js/atomic/utils/render-parent-block.tsx">
|
|
<error line="144" column="2" severity="error" message="Type '(string | Element | null)[]' is not assignable to type '(Element | null)[]'.
|
|
Type 'string | Element | null' is not assignable to type 'Element | null'.
|
|
Type 'string' is not assignable to type 'Element'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/atomic/utils/render-standalone-blocks.js">
|
|
<error line="17" column="22" severity="error" message="Parameter 'el' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="22" column="4" severity="error" message="Type 'RegisteredBlockComponent' is not assignable to type 'BlockType<Record<string, unknown>, Record<string, unknown>> | null'.
|
|
Type 'LazyExoticComponent<ComponentType<unknown>>' is not assignable to type 'BlockType<Record<string, unknown>, Record<string, unknown>> | null'.
|
|
Type 'LazyExoticComponent<ComponentType<unknown>>' is not assignable to type 'BlockType<Record<string, unknown>, Record<string, unknown>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type 'BlockProps<Record<string, unknown>, Record<string, unknown>>' is not assignable to type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>'.
|
|
Type 'BlockProps<Record<string, unknown>, Record<string, unknown>>' has no properties in common with type 'RefAttributes<Component<unknown, any, any>>'." source="TS2322" />
|
|
</file>
|
|
<file name="node_modules/@types/webpack-env/index.d.ts">
|
|
<error line="297" column="13" severity="error" message="Cannot redeclare block-scoped variable '__webpack_public_path__'." source="TS2451" />
|
|
</file>
|
|
<file name="assets/js/base/components/combobox/index.tsx">
|
|
<error line="8" column="33" severity="error" message="Could not find a declaration file for module 'wordpress-components'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/wordpress-components/build/index.js' implicitly has an 'any' type.
|
|
If the '@wordpress/components' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__components'" source="TS7016" />
|
|
<error line="148" column="32" severity="error" message="Argument of type '({ id, className, label, onChange, options, value, required, errorMessage, errorId: incomingErrorId, instanceId, autoComplete, }: ComboboxProps) => JSX.Element' is not assignable to parameter of type 'ComponentType<{ instanceId: string | number; }>'.
|
|
Type '({ id, className, label, onChange, options, value, required, errorMessage, errorId: incomingErrorId, instanceId, autoComplete, }: ComboboxProps) => JSX.Element' is not assignable to type 'FunctionComponent<{ instanceId: string | number; }>'.
|
|
Types of parameters '__0' and 'props' are incompatible.
|
|
Type 'PropsWithChildren<{ instanceId: string | number; }>' is missing the following properties from type 'ComboboxProps': errorId, id, label, onChange, and 2 more." source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/base/components/country-input/country-input.tsx">
|
|
<error line="50" column="5" severity="error" message="Type '{ id: string; label: string; onChange: (filterValue: string) => void; options: { value: string; label: "&#197;land Islands" | "Afghanistan" | "Albania" | "Algeria" | "American Samoa" | "Andorra" | ... 242 more ... | "Zimbabwe"; }[]; ... 4 more ...; autoComplete: string; }' is not assignable to type 'IntrinsicAttributes & Omit<{ instanceId: string | number; }, "instanceId"> & { children?: ReactNode; }'.
|
|
Property 'id' does not exist on type 'IntrinsicAttributes & Omit<{ instanceId: string | number; }, "instanceId"> & { children?: ReactNode; }'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/base/components/state-input/state-input.tsx">
|
|
<error line="93" column="6" severity="error" message="Type '{ className: string; id: string; label: string; onChange: (stateValue: string) => void; options: { value: string; label: string; }[]; value: string; errorMessage: string; required: boolean; autoComplete: string; }' is not assignable to type 'IntrinsicAttributes & Omit<{ instanceId: string | number; }, "instanceId"> & { children?: ReactNode; }'.
|
|
Property 'className' does not exist on type 'IntrinsicAttributes & Omit<{ instanceId: string | number; }, "instanceId"> & { children?: ReactNode; }'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/base/components/state-input/billing-state-input.tsx">
|
|
<error line="13" column="21" severity="error" message="Type 'Record<string, string>' is not assignable to type 'Record<string, Record<string, string>>'.
|
|
'string' index signatures are incompatible.
|
|
Type 'string' is not assignable to type 'Record<string, string>'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/base/components/cart-checkout/address-form/address-form.tsx">
|
|
<error line="162" column="8" severity="error" message="Type '{ key: "country"; id: string; label: string; value: string; autoComplete: string; onChange: (newValue: string) => void; errorId: string | null; errorMessage: string | undefined; required: boolean; }' is not assignable to type 'CountryInputProps' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
|
Types of property 'errorMessage' are incompatible.
|
|
Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'." source="TS2375" />
|
|
<error line="196" column="8" severity="error" message="Type '{ key: "state"; id: string; country: string; label: string; value: string; autoComplete: string; onChange: (newValue: string) => void; errorMessage: string | undefined; required: boolean; }' is not assignable to type 'StateInputProps' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
|
Types of property 'errorMessage' are incompatible.
|
|
Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'." source="TS2375" />
|
|
</file>
|
|
<file name="assets/js/base/components/cart-checkout/form-step/index.tsx">
|
|
<error line="81" column="6" severity="error" message="Type '{ title: string; stepHeadingContent: Element | undefined; }' is not assignable to type 'StepHeadingProps' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
|
Types of property 'stepHeadingContent' are incompatible.
|
|
Type 'Element | undefined' is not assignable to type 'Element'.
|
|
Type 'undefined' is not assignable to type 'Element'." source="TS2375" />
|
|
</file>
|
|
<file name="assets/js/base/components/cart-checkout/product-summary/index.tsx">
|
|
<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.
|
|
Types of property 'className' are incompatible.
|
|
Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'." source="TS2375" />
|
|
</file>
|
|
<file name="assets/js/base/components/cart-checkout/product-sale-badge/index.tsx">
|
|
<error line="7" column="15" severity="error" message="Module '"@woocommerce/price-format"' has no exported member 'Currency'." source="TS2305" />
|
|
</file>
|
|
<file name="assets/js/base/components/cart-checkout/shipping-calculator/index.tsx">
|
|
<error line="30" column="5" severity="error" message="Type 'Partial<keyof ShippingAddress>[]' is not assignable to type 'Partial<keyof AddressFields>[]'.
|
|
Type 'Partial<keyof ShippingAddress>' is not assignable to type 'Partial<keyof AddressFields>'.
|
|
Type '"phone"' is not assignable to type 'Partial<keyof AddressFields>'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/base/components/chip/chip.tsx">
|
|
<error line="66" column="4" severity="error" message="Type '{ children: (false | {} | Element | null)[]; className: string; }' is not assignable to type 'IntrinsicAttributes'.
|
|
Property 'children' does not exist on type 'IntrinsicAttributes'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/base/components/chip/removable-chip.tsx">
|
|
<error line="95" column="4" severity="error" message="Type '{ children: Element; className: string; element: string | undefined; screenReaderText: string; text: string | Element; radius?: "none" | "medium" | "large" | "small"; }' is not assignable to type 'ChipProps' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
|
Types of property 'element' are incompatible.
|
|
Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'." source="TS2375" />
|
|
</file>
|
|
<file name="assets/js/base/components/cart-checkout/totals/shipping/shipping-rate-selector.js">
|
|
<error line="5" column="24" severity="error" message="Could not find a declaration file for module 'wordpress-components'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/wordpress-components/build/index.js' implicitly has an 'any' type.
|
|
If the '@wordpress/components' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__components'" source="TS7016" />
|
|
<error line="14" column="2" severity="error" message="Binding element 'hasRates' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="15" column="2" severity="error" message="Binding element 'shippingRates' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="16" column="2" severity="error" message="Binding element 'isLoadingRates' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="24" column="5" severity="error" message="Property 'renderOption' is missing in type '{ className: string; collapsible: true; noResultsMessage: Element; shippingRates: any; isLoadingRates: any; context: "woocommerce/cart"; }' but required in type 'ShippingRatesControlProps'." source="TS2741" />
|
|
</file>
|
|
<file name="assets/js/base/components/cart-checkout/totals/shipping/has-shipping-rate.js">
|
|
<error line="5" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
</file>
|
|
<file name="assets/js/base/components/cart-checkout/totals/shipping/index.tsx">
|
|
<error line="9" column="15" severity="error" message="Module '"@woocommerce/price-format"' has no exported member 'Currency'." source="TS2305" />
|
|
</file>
|
|
<file name="assets/js/base/components/cart-checkout/address-form/test/index.js">
|
|
<error line="14" column="36" severity="error" message="Parameter 'ui' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="15" column="22" severity="error" message="Binding element 'children' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="83" column="33" severity="error" message="Binding element 'type' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="92" column="5" severity="error" message="Type 'string[]' is not assignable to type '(keyof AddressFields)[]'." source="TS2322" />
|
|
<error line="102" column="37" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'ShippingAddress'.
|
|
No index signature with a parameter of type 'string' was found on type 'ShippingAddress'." source="TS7053" />
|
|
<error line="116" column="17" severity="error" message="Argument of type '{ country: string; countryKey: string; city: string; state: string; postcode: string; }' is not assignable to parameter of type '{ country?: null | undefined; city?: null | undefined; state?: null | undefined; postcode?: null | undefined; }'.
|
|
Types of property 'country' are incompatible.
|
|
Type 'string' is not assignable to type 'null | undefined'." source="TS2345" />
|
|
<error line="118" column="43" severity="error" message="Property 'toHaveTextContent' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="121" column="40" severity="error" message="Property 'toHaveTextContent' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="124" column="41" severity="error" message="Property 'toHaveTextContent' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="127" column="44" severity="error" message="Property 'toHaveTextContent' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="135" column="17" severity="error" message="Argument of type '{ country: string; countryKey: string; city: string; state: string; postcode: string; }' is not assignable to parameter of type '{ country?: null | undefined; city?: null | undefined; state?: null | undefined; postcode?: null | undefined; }'." source="TS2345" />
|
|
<error line="138" column="45" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="139" column="47" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="140" column="49" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="142" column="17" severity="error" message="Argument of type '{ country: string; countryKey: string; city: string; postcode: string; }' is not assignable to parameter of type '{ country?: null | undefined; city?: null | undefined; state?: null | undefined; postcode?: null | undefined; }'.
|
|
Types of property 'country' are incompatible.
|
|
Type 'string' is not assignable to type 'null | undefined'." source="TS2345" />
|
|
<error line="145" column="51" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'Matchers<void, HTMLElement | null>'." source="TS2339" />
|
|
<error line="147" column="17" severity="error" message="Argument of type '{ country: string; countryKey: string; city: string; state: string; postcode: string; }' is not assignable to parameter of type '{ country?: null | undefined; city?: null | undefined; state?: null | undefined; postcode?: null | undefined; }'.
|
|
Types of property 'country' are incompatible.
|
|
Type 'string' is not assignable to type 'null | undefined'." source="TS2345" />
|
|
<error line="150" column="52" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="156" column="17" severity="error" message="Argument of type '{ country: string; countryKey: string; city: string; postcode: string; }' is not assignable to parameter of type '{ country?: null | undefined; city?: null | undefined; state?: null | undefined; postcode?: null | undefined; }'." source="TS2345" />
|
|
<error line="158" column="19" severity="error" message="Type 'string' is not assignable to type 'null | undefined'." source="TS2322" />
|
|
<error line="159" column="48" severity="error" message="Property 'value' does not exist on type 'HTMLElement'." source="TS2339" />
|
|
<error line="162" column="17" severity="error" message="Argument of type '{ country: string; countryKey: string; city: string; state: string; postcode: string; }' is not assignable to parameter of type '{ country?: null | undefined; city?: null | undefined; state?: null | undefined; postcode?: null | undefined; }'." source="TS2345" />
|
|
<error line="163" column="19" severity="error" message="Type 'string' is not assignable to type 'null | undefined'." source="TS2322" />
|
|
<error line="164" column="48" severity="error" message="Property 'value' does not exist on type 'HTMLElement'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/base/components/cart-checkout/product-details/test/index.js">
|
|
<error line="19" column="20" severity="error" message="Type '({ name: string; value: string; display?: never; } | { name: string; value: string; display: string; } | { value: string; name?: never; display?: never; })[]' is not assignable to type 'ProductResponseItemData[]'.
|
|
Type '{ name: string; value: string; display?: never; } | { name: string; value: string; display: string; } | { value: string; name?: never; display?: never; }' is not assignable to type 'ProductResponseItemData' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
|
Type '{ value: string; name?: never; display?: never; }' is not assignable to type 'ProductResponseItemData' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
|
Type '{ value: string; name?: never; display?: never; }' is not assignable to type 'ProductResponseItemBaseData & { key: string; name?: never; }' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
|
Property 'key' is missing in type '{ value: string; name?: never; display?: never; }' but required in type '{ key: string; name?: never; }'." source="TS2322" />
|
|
<error line="50" column="9" severity="error" message="Variable 'details' implicitly has type 'any[]' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="52" column="30" severity="error" message="Variable 'details' implicitly has an 'any[]' type." source="TS7005" />
|
|
</file>
|
|
<file name="storybook/custom-controls/currency.ts">
|
|
<error line="28" column="14" severity="error" message="Type '{ [k: string]: { code: CurrencyCode; decimal_separator: string; minor_unit: number; prefix: string; suffix: string; symbol: string; thousand_separator: string; }; }' is not assignable to type 'Record<string, CurrencyResponse>'.
|
|
'string' index signatures are incompatible.
|
|
Type '{ code: CurrencyCode; decimal_separator: string; minor_unit: number; prefix: string; suffix: string; symbol: string; thousand_separator: string; }' is missing the following properties from type 'CurrencyResponse': currency_code, currency_symbol, currency_minor_unit, currency_decimal_separator, and 3 more." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/base/components/cart-checkout/totals/footer-item/test/index.tsx">
|
|
<error line="51" column="22" severity="error" message="Type '{ code: string; decimalSeparator: string; minorUnit: number; prefix: string; suffix: string; symbol: string; thousandSeparator: string; }' is not assignable to type 'Currency'.
|
|
Types of property 'code' are incompatible.
|
|
Type 'string' is not assignable to type 'CurrencyCode'." source="TS2322" />
|
|
<error line="51" column="44" severity="error" message="Type '{ currency_code: string; currency_decimal_separator: string; currency_minor_unit: number; currency_prefix: string; currency_suffix: string; currency_symbol: string; currency_thousand_separator: string; ... 11 more ...; total_tax: string; }' is not assignable to type 'LooselyMustHave<CartResponseTotals, "total_tax" | "total_price">'.
|
|
Type '{ currency_code: string; currency_decimal_separator: string; currency_minor_unit: number; currency_prefix: string; currency_suffix: string; currency_symbol: string; currency_thousand_separator: string; ... 11 more ...; total_tax: string; }' is not assignable to type 'Partial<CartResponseTotals>'.
|
|
Types of property 'currency_code' are incompatible.
|
|
Type 'string' is not assignable to type 'CurrencyCode'." source="TS2322" />
|
|
<error line="65" column="22" severity="error" message="Type '{ code: string; decimalSeparator: string; minorUnit: number; prefix: string; suffix: string; symbol: string; thousandSeparator: string; }' is not assignable to type 'Currency'." source="TS2322" />
|
|
<error line="65" column="44" severity="error" message="Type '{ total_tax: string; total_items_tax: string; currency_code: string; currency_decimal_separator: string; currency_minor_unit: number; currency_prefix: string; currency_suffix: string; ... 11 more ...; total_shipping_tax: string; }' is not assignable to type 'LooselyMustHave<CartResponseTotals, "total_tax" | "total_price">'.
|
|
Type '{ total_tax: string; total_items_tax: string; currency_code: string; currency_decimal_separator: string; currency_minor_unit: number; currency_prefix: string; currency_suffix: string; ... 11 more ...; total_shipping_tax: string; }' is not assignable to type 'Partial<CartResponseTotals>'.
|
|
Types of property 'currency_code' are incompatible.
|
|
Type 'string' is not assignable to type 'CurrencyCode'." source="TS2322" />
|
|
<error line="77" column="22" severity="error" message="Type '{ code: string; decimalSeparator: string; minorUnit: number; prefix: string; suffix: string; symbol: string; thousandSeparator: string; }' is not assignable to type 'Currency'." source="TS2322" />
|
|
<error line="77" column="44" severity="error" message="Type '{ total_tax: string; total_items_tax: string; currency_code: string; currency_decimal_separator: string; currency_minor_unit: number; currency_prefix: string; currency_suffix: string; ... 11 more ...; total_shipping_tax: string; }' is not assignable to type 'LooselyMustHave<CartResponseTotals, "total_tax" | "total_price">'.
|
|
Type '{ total_tax: string; total_items_tax: string; currency_code: string; currency_decimal_separator: string; currency_minor_unit: number; currency_prefix: string; currency_suffix: string; ... 11 more ...; total_shipping_tax: string; }' is not assignable to type 'Partial<CartResponseTotals>'.
|
|
Types of property 'currency_code' are incompatible.
|
|
Type 'string' is not assignable to type 'CurrencyCode'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/base/components/form-token-field/index.tsx">
|
|
<error line="4" column="52" severity="error" message="Could not find a declaration file for module 'wordpress-components'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/wordpress-components/build/index.js' implicitly has an 'any' type.
|
|
If the '@wordpress/components' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__components'" source="TS7016" />
|
|
</file>
|
|
<file name="assets/js/base/components/label/test/index.js">
|
|
<error line="45" column="7" severity="error" message="Type '{ className: string; 'data-foo': string; }' is not assignable to type 'HTMLProps<HTMLElement>'.
|
|
Object literal may only specify known properties, and ''data-foo'' does not exist in type 'HTMLProps<HTMLElement>'." source="TS2322" />
|
|
<error line="60" column="7" severity="error" message="Type '{ className: string; 'data-foo': string; }' is not assignable to type 'HTMLProps<HTMLElement>'.
|
|
Object literal may only specify known properties, and ''data-foo'' does not exist in type 'HTMLProps<HTMLElement>'." source="TS2322" />
|
|
<error line="75" column="7" severity="error" message="Type '{ className: string; 'data-foo': string; }' is not assignable to type 'HTMLProps<HTMLElement>'.
|
|
Object literal may only specify known properties, and ''data-foo'' does not exist in type 'HTMLProps<HTMLElement>'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/base/components/price-slider/constrain-range-slider-values.ts">
|
|
<error line="41" column="17" severity="error" message="Argument of type 'number | null | undefined' is not assignable to parameter of type 'number | undefined'.
|
|
Type 'null' is not assignable to type 'number | undefined'." source="TS2345" />
|
|
<error line="45" column="17" severity="error" message="Argument of type 'number | null | undefined' is not assignable to parameter of type 'number | undefined'." source="TS2345" />
|
|
<error line="49" column="17" severity="error" message="Argument of type 'number | null | undefined' is not assignable to parameter of type 'number | undefined'." source="TS2345" />
|
|
<error line="53" column="17" severity="error" message="Argument of type 'number | null | undefined' is not assignable to parameter of type 'number | undefined'." source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/base/components/price-slider/index.tsx">
|
|
<error line="127" column="20" severity="error" message="Argument of type 'number | null | undefined' is not assignable to parameter of type 'number'.
|
|
Type 'undefined' is not assignable to type 'number'." source="TS2345" />
|
|
<error line="127" column="49" severity="error" message="Argument of type 'number | null | undefined' is not assignable to parameter of type 'number'.
|
|
Type 'undefined' is not assignable to type 'number'." source="TS2345" />
|
|
<error line="135" column="16" severity="error" message="Argument of type 'number | null' is not assignable to parameter of type 'number'.
|
|
Type 'null' is not assignable to type 'number'." source="TS2345" />
|
|
<error line="136" column="16" severity="error" message="Argument of type 'number | null' is not assignable to parameter of type 'number'.
|
|
Type 'null' is not assignable to type 'number'." source="TS2345" />
|
|
<error line="148" column="10" severity="error" message="Object is possibly 'null'." source="TS2531" />
|
|
<error line="148" column="21" severity="error" message="Object is possibly 'null' or 'undefined'." source="TS2533" />
|
|
<error line="149" column="9" severity="error" message="Object is possibly 'null' or 'undefined'." source="TS2533" />
|
|
<error line="149" column="25" severity="error" message="Object is possibly 'null' or 'undefined'." source="TS2533" />
|
|
<error line="154" column="10" severity="error" message="Object is possibly 'null'." source="TS2531" />
|
|
<error line="154" column="21" severity="error" message="Object is possibly 'null' or 'undefined'." source="TS2533" />
|
|
<error line="155" column="9" severity="error" message="Object is possibly 'null' or 'undefined'." source="TS2533" />
|
|
<error line="155" column="25" severity="error" message="Object is possibly 'null' or 'undefined'." source="TS2533" />
|
|
<error line="193" column="41" severity="error" message="Object is possibly 'null' or 'undefined'." source="TS2533" />
|
|
<error line="194" column="41" severity="error" message="Object is possibly 'null' or 'undefined'." source="TS2533" />
|
|
<error line="223" column="10" severity="error" message="Type '[number, number | null] | [number | null, number]' is not assignable to type '[number, number]'.
|
|
Type '[number, number | null]' is not assignable to type '[number, number]'.
|
|
Type at position 1 in source is not compatible with type at position 1 in target.
|
|
Type 'number | null' is not assignable to type 'number'.
|
|
Type 'null' is not assignable to type 'number'." source="TS2322" />
|
|
<error line="273" column="9" severity="error" message="Object is possibly 'null'." source="TS2531" />
|
|
<error line="273" column="26" severity="error" message="Object is possibly 'null'." source="TS2531" />
|
|
<error line="275" column="11" severity="error" message="Type 'number | null' is not assignable to type 'number'.
|
|
Type 'null' is not assignable to type 'number'." source="TS2322" />
|
|
<error line="282" column="16" severity="error" message="Argument of type 'number' is not assignable to parameter of type 'string'." source="TS2345" />
|
|
<error line="283" column="16" severity="error" message="Argument of type 'number' is not assignable to parameter of type 'string'." source="TS2345" />
|
|
<error line="288" column="7" severity="error" message="Type 'number | null' is not assignable to type 'number'.
|
|
Type 'null' is not assignable to type 'number'." source="TS2322" />
|
|
<error line="288" column="22" severity="error" message="Type 'number | null' is not assignable to type 'number'.
|
|
Type 'null' is not assignable to type 'number'." source="TS2322" />
|
|
<error line="323" column="3" severity="error" message="Object is possibly 'null'." source="TS2531" />
|
|
<error line="326" column="3" severity="error" message="Object is possibly 'null'." source="TS2531" />
|
|
<error line="339" column="4" severity="error" message="Type '(event: React.MouseEvent<HTMLDivElement>) => void' is not assignable to type 'FocusEventHandler<HTMLDivElement>'.
|
|
Types of parameters 'event' and 'event' are incompatible.
|
|
Type 'FocusEvent<HTMLDivElement, Element>' is missing the following properties from type 'MouseEvent<HTMLDivElement, MouseEvent>': altKey, button, buttons, clientX, and 13 more." source="TS2322" />
|
|
<error line="355" column="7" severity="error" message="Type 'number | null | undefined' is not assignable to type 'string | number | readonly string[] | undefined'.
|
|
Type 'null' is not assignable to type 'string | number | readonly string[] | undefined'." source="TS2322" />
|
|
<error line="362" column="7" severity="error" message="Type 'number | null | undefined' is not assignable to type 'string | number | undefined'.
|
|
Type 'null' is not assignable to type 'string | number | undefined'." source="TS2322" />
|
|
<error line="363" column="7" severity="error" message="Type 'number | null | undefined' is not assignable to type 'string | number | undefined'." source="TS2322" />
|
|
<error line="376" column="7" severity="error" message="Type 'number | null | undefined' is not assignable to type 'string | number | readonly string[] | undefined'." source="TS2322" />
|
|
<error line="383" column="7" severity="error" message="Type 'number | null | undefined' is not assignable to type 'string | number | undefined'." source="TS2322" />
|
|
<error line="384" column="7" severity="error" message="Type 'number | null | undefined' is not assignable to type 'string | number | undefined'." source="TS2322" />
|
|
<error line="411" column="9" severity="error" message="Type 'number | null | undefined' is not assignable to type 'number'.
|
|
Type 'undefined' is not assignable to type 'number'." source="TS2322" />
|
|
<error line="413" column="9" severity="error" message="Type 'number | null' is not assignable to type 'number'.
|
|
Type 'null' is not assignable to type 'number'." source="TS2322" />
|
|
<error line="423" column="8" severity="error" message="Type 'number | null' is not assignable to type 'string | number'.
|
|
Type 'null' is not assignable to type 'string | number'." source="TS2322" />
|
|
<error line="440" column="9" severity="error" message="Type 'number | null | undefined' is not assignable to type 'number'.
|
|
Type 'undefined' is not assignable to type 'number'." source="TS2322" />
|
|
<error line="451" column="8" severity="error" message="Type 'number | null' is not assignable to type 'string | number'." source="TS2322" />
|
|
<error line="466" column="8" severity="error" message="Type 'number | null' is not assignable to type 'string | number'." source="TS2322" />
|
|
<error line="470" column="8" severity="error" message="Type 'number | null' is not assignable to type 'string | number'." source="TS2322" />
|
|
<error line="482" column="11" severity="error" message="Type 'number | null | undefined' is not assignable to type 'number'.
|
|
Type 'undefined' is not assignable to type 'number'." source="TS2322" />
|
|
<error line="483" column="11" severity="error" message="Type 'number | null | undefined' is not assignable to type 'number'.
|
|
Type 'undefined' is not assignable to type 'number'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/base/components/product-list/product-list.tsx">
|
|
<error line="255" column="14" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
<error line="257" column="8" severity="error" message="Type 'unknown' is not assignable to type 'Partial<ProductResponseItem>'." source="TS2322" />
|
|
<error line="273" column="33" severity="error" message="Argument of type '({ attributes, currentPage, onPageChange, onSortChange, sortValue, scrollToTop, }: ProductListProps) => JSX.Element' is not assignable to parameter of type 'FunctionComponent<Record<string, unknown>>'.
|
|
Types of parameters '__0' and 'props' are incompatible.
|
|
Type 'PropsWithChildren<Record<string, unknown>>' is missing the following properties from type 'ProductListProps': attributes, currentPage, onPageChange, onSortChange, and 2 more." source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/base/components/product-price/test/index.js">
|
|
<error line="44" column="5" severity="error" message="Type '{ code: string; currency_code: string; currency_decimal_separator: string; currency_minor_unit: number; currency_prefix: string; currency_suffix: string; currency_symbol: string; currency_thousand_separator: string; ... 10 more ...; thousandSeparator: string; }' is not assignable to type 'Currency | Record<string, never>'.
|
|
Type '{ code: string; currency_code: string; currency_decimal_separator: string; currency_minor_unit: number; currency_prefix: string; currency_suffix: string; currency_symbol: string; currency_thousand_separator: string; ... 10 more ...; thousandSeparator: string; }' is not assignable to type 'Record<string, never>'.
|
|
Property 'code' is incompatible with index signature.
|
|
Type 'string' is not assignable to type 'never'." source="TS2322" />
|
|
<error line="56" column="5" severity="error" message="Type '{ code: string; currency_code: string; currency_decimal_separator: string; currency_minor_unit: number; currency_prefix: string; currency_suffix: string; currency_symbol: string; currency_thousand_separator: string; ... 10 more ...; thousandSeparator: string; }' is not assignable to type 'Currency | Record<string, never>'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/base/components/radio-control-accordion/index.js">
|
|
<error line="13" column="2" severity="error" message="Binding element 'className' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="14" column="2" severity="error" message="Binding element 'instanceId' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="15" column="2" severity="error" message="Binding element 'id' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="16" column="2" severity="error" message="Binding element 'selected' 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" />
|
|
<error line="18" column="2" severity="error" message="Binding element 'options' implicitly has an 'any[]' type." source="TS7031" />
|
|
<error line="73" column="32" severity="error" message="Argument of type '({ className, instanceId, id, selected, onChange, options, }: { className: any; instanceId: any; id: any; selected: any; onChange: any; options?: any[] | undefined; }) => 0 | Element' is not assignable to parameter of type 'ComponentType<{ className: any; instanceId: any; id: any; selected: any; onChange: any; options?: any[] | undefined; }>'.
|
|
Type '({ className, instanceId, id, selected, onChange, options, }: { className: any; instanceId: any; id: any; selected: any; onChange: any; options?: any[] | undefined; }) => 0 | Element' is not assignable to type 'FunctionComponent<{ className: any; instanceId: any; id: any; selected: any; onChange: any; options?: any[] | undefined; }>'.
|
|
Type '0 | Element' is not assignable to type 'ReactElement<any, any> | null'.
|
|
Type 'number' is not assignable to type 'ReactElement<any, any>'." source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/base/components/reviews/review-list-item/index.tsx">
|
|
<error line="14" column="26" severity="error" message="Parameter 'review' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="14" column="34" severity="error" message="Parameter 'imageType' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="14" column="45" severity="error" message="Parameter 'isLoading' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="54" column="28" severity="error" message="Parameter 'review' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="80" column="32" severity="error" message="Parameter 'review' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="96" column="27" severity="error" message="Parameter 'review' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="105" column="25" severity="error" message="Parameter 'review' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="120" column="27" severity="error" message="Parameter 'review' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="153" column="28" severity="error" message="Binding element 'attributes' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="163" column="10" severity="error" message="Property 'rating' does not exist on type '{}'." source="TS2339" />
|
|
<error line="164" column="20" severity="error" message="Operator '>' cannot be applied to types 'boolean' and 'number'." source="TS2365" />
|
|
</file>
|
|
<file name="assets/js/base/components/reviews/review-list/index.tsx">
|
|
<error line="13" column="24" severity="error" message="Binding element 'attributes' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="13" column="36" severity="error" message="Binding element 'reviews' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="32" column="20" severity="error" message="Parameter 'review' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="32" column="28" severity="error" message="Parameter 'i' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/base/components/reviews/review-sort-select/index.js">
|
|
<error line="13" column="30" severity="error" message="Binding element 'onChange' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="13" column="40" severity="error" message="Binding element 'readOnly' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="13" column="50" severity="error" message="Binding element 'value' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="39" column="4" severity="error" message="Type '{ className: string; label: string; onChange: any; options: { key: string; label: string; }[]; readOnly: any; screenReaderLabel: string; value: any; }' is not assignable to type 'IntrinsicAttributes & Omit<SortSelectProps, "instanceId"> & { children?: ReactNode; }'.
|
|
Property 'readOnly' does not exist on type 'IntrinsicAttributes & Omit<SortSelectProps, "instanceId"> & { children?: ReactNode; }'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/base/components/sidebar-layout/sidebar.js">
|
|
<error line="7" column="43" severity="error" message="Property 'className' does not exist on type '{ children?: ReactNode; }'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/base/components/sidebar-layout/main.js">
|
|
<error line="7" column="40" severity="error" message="Property 'className' does not exist on type '{ children?: ReactNode; }'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/base/components/sidebar-layout/sidebar-layout.js">
|
|
<error line="13" column="27" severity="error" message="Binding element 'children' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="13" column="37" severity="error" message="Binding element 'className' implicitly has an 'any' type." source="TS7031" />
|
|
</file>
|
|
<file name="assets/js/base/components/tabs/index.js">
|
|
<error line="14" 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 'tabs' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="18" column="2" severity="error" message="Binding element 'initialTabName' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="20" column="2" severity="error" message="Binding element 'instanceId' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="21" column="2" severity="error" message="Binding element 'id' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="38" column="21" severity="error" message="Binding element 'name' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="38" column="27" severity="error" message="Binding element 'title' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="38" column="45" severity="error" message="Binding element 'tabAriaLabel' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="52" column="33" severity="error" message="Expected 0 arguments, but got 1." source="TS2554" />
|
|
<error line="64" column="20" severity="error" message="Binding element 'name' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="64" column="26" severity="error" message="Binding element 'content' implicitly has an 'any' type." source="TS7031" />
|
|
</file>
|
|
<file name="assets/js/base/context/utils.js">
|
|
<error line="36" column="4" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Object'.
|
|
No index signature with a parameter of type 'string' was found on type 'Object'." source="TS7053" />
|
|
<error line="37" column="11" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Object'.
|
|
No index signature with a parameter of type 'string' was found on type 'Object'." source="TS7053" />
|
|
<error line="43" column="11" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Object'.
|
|
No index signature with a parameter of type 'string' was found on type 'Object'." source="TS7053" />
|
|
<error line="44" column="11" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Object'.
|
|
No index signature with a parameter of type 'string' was found on type 'Object'." source="TS7053" />
|
|
<error line="45" column="5" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Object'.
|
|
No index signature with a parameter of type 'string' was found on type 'Object'." source="TS7053" />
|
|
<error line="49" column="6" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Object'.
|
|
No index signature with a parameter of type 'string' was found on type 'Object'." source="TS7053" />
|
|
<error line="50" column="33" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Object'.
|
|
No index signature with a parameter of type 'string' was found on type 'Object'." source="TS7053" />
|
|
</file>
|
|
<file name="assets/js/base/context/event-emit/test/emitters.js">
|
|
<error line="8" column="6" severity="error" message="Variable 'observerA' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="9" column="6" severity="error" message="Variable 'observerB' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="10" column="6" severity="error" message="Variable 'observerPromiseWithResolvedValue' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="45" column="38" severity="error" message="Argument of type '{ test: {}; }' is not assignable to parameter of type 'EventObserversType'.
|
|
Property 'test' is incompatible with index signature.
|
|
Type '{}' is missing the following properties from type 'Map<string, ObserverType>': clear, delete, forEach, get, and 8 more." source="TS2345" />
|
|
<error line="46" column="22" severity="error" message="Property 'toHaveErroredWith' does not exist on type 'JestMatchers<Console>'." source="TS2339" />
|
|
<error line="47" column="12" severity="error" message="Variable 'observerA' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="48" column="12" severity="error" message="Variable 'observerB' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="54" column="18" severity="error" message="Property 'delete' does not exist on type '{}'." source="TS2339" />
|
|
<error line="57" column="5" severity="error" message="Argument of type '{ test: {}; }' is not assignable to parameter of type 'EventObserversType'.
|
|
Property 'test' is incompatible with index signature.
|
|
Type '{}' is not assignable to type 'ObserversType'." source="TS2345" />
|
|
<error line="61" column="26" severity="error" message="Property 'toHaveErrored' does not exist on type 'Matchers<void, Console>'." source="TS2339" />
|
|
<error line="62" column="12" severity="error" message="Variable 'observerB' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="63" column="12" severity="error" message="Variable 'observerPromiseWithResolvedValue' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="70" column="18" severity="error" message="Property 'set' does not exist on type '{}'." source="TS2339" />
|
|
<error line="76" column="5" severity="error" message="Argument of type '{ test: {}; }' is not assignable to parameter of type 'EventObserversType'.
|
|
Property 'test' is incompatible with index signature.
|
|
Type '{}' is not assignable to type 'ObserversType'." source="TS2345" />
|
|
<error line="80" column="26" severity="error" message="Property 'toHaveErrored' does not exist on type 'Matchers<void, Console>'." source="TS2339" />
|
|
<error line="82" column="12" severity="error" message="Variable 'observerPromiseWithResolvedValue' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="87" column="18" severity="error" message="Property 'set' does not exist on type '{}'." source="TS2339" />
|
|
<error line="93" column="5" severity="error" message="Argument of type '{ test: {}; }' is not assignable to parameter of type 'EventObserversType'.
|
|
Property 'test' is incompatible with index signature.
|
|
Type '{}' is not assignable to type 'ObserversType'." source="TS2345" />
|
|
<error line="97" column="22" severity="error" message="Property 'toHaveErrored' does not exist on type 'JestMatchers<Console>'." source="TS2339" />
|
|
<error line="99" column="12" severity="error" message="Variable 'observerPromiseWithResolvedValue' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="114" column="26" severity="error" message="Property 'toHaveErrored' does not exist on type 'Matchers<void, Console>'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/base/context/hooks/cart/test/use-store-cart-item-quantity.js">
|
|
<error line="27" column="17" severity="error" message="Parameter 'a' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="31" column="6" severity="error" message="Variable 'registry' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="31" column="16" severity="error" message="Variable 'renderer' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="33" column="33" severity="error" message="Parameter 'Component' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="34" column="29" severity="error" message="Variable 'registry' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="39" column="29" severity="error" message="Parameter 'options' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="41" column="11" severity="error" message="Type '{ isPendingDelete: boolean; quantity: number; setItemQuantity: Dispatch<SetStateAction<number>>; removeItem: () => Promise<boolean>; cartItemQuantityErrors: CartResponseErrorItem[]; }' has no properties in common with type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'." source="TS2559" />
|
|
<error line="44" column="6" severity="error" message="Variable 'mockRemoveItemFromCart' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="45" column="6" severity="error" message="Variable 'mockChangeCartItemQuantity' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="46" column="25" severity="error" message="Binding element 'isPendingDelete' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="46" column="42" severity="error" message="Binding element 'isPendingQuantity' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="55" column="3" severity="error" message="Variable 'registry' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="72" column="3" severity="error" message="Variable 'registry' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="81" column="3" severity="error" message="Variable 'mockRemoveItemFromCart' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="82" column="3" severity="error" message="Variable 'mockChangeCartItemQuantity' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="88" column="34" severity="error" message="Property 'mockReturnValue' does not exist on type '(options?: { shouldSelect: boolean; }) => StoreCart'." source="TS2339" />
|
|
<error line="106" column="5" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="115" column="5" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="132" column="27" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="138" column="12" severity="error" message="Variable 'mockRemoveItemFromCart' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="153" column="32" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="159" column="12" severity="error" message="Variable 'mockChangeCartItemQuantity' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="171" column="33" severity="error" message="Property 'mockReturnValue' does not exist on type '(options?: { shouldSelect: boolean; }) => StoreCart'." source="TS2339" />
|
|
<error line="187" column="4" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="197" column="33" severity="error" message="Property 'mockReturnValue' does not exist on type '(options?: { shouldSelect: boolean; }) => StoreCart'." source="TS2339" />
|
|
<error line="212" column="31" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
</file>
|
|
<file name="assets/js/base/context/hooks/cart/test/use-store-cart.js">
|
|
<error line="26" column="6" severity="error" message="Variable 'registry' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="26" column="16" severity="error" message="Variable 'renderer' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="112" column="8" severity="error" message="Variable 'mockCartErrors' implicitly has type 'any[]' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="123" column="15" severity="error" message="Variable 'mockCartErrors' implicitly has an 'any[]' type." source="TS7005" />
|
|
<error line="136" column="33" severity="error" message="Parameter 'Component' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="137" column="29" severity="error" message="Variable 'registry' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="142" column="29" severity="error" message="Parameter 'options' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="144" column="15" severity="error" message="Type '{ cartCoupons: CartResponseCoupons; cartItems: CartItem[]; crossSellsProducts: ProductResponseItem[]; cartFees: CartResponseFeeItem[]; ... 14 more ...; paymentRequirements: string[]; }' is not assignable to type 'number'." source="TS2322" />
|
|
<error line="151" column="47" severity="error" message="Variable 'mockCartErrors' implicitly has an 'any[]' type." source="TS7005" />
|
|
<error line="159" column="3" severity="error" message="Variable 'registry' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="172" column="20" severity="error" message="Property 'mockReset' does not exist on type '() => any'." source="TS2339" />
|
|
<error line="177" column="21" severity="error" message="Property 'mockReturnValue' does not exist on type '() => any'." source="TS2339" />
|
|
<error line="194" column="5" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="213" column="5" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="222" column="21" severity="error" message="Property 'mockReturnValue' does not exist on type '() => any'." source="TS2339" />
|
|
<error line="243" column="5" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
</file>
|
|
<file name="assets/js/base/context/hooks/collections/test/use-collection.js">
|
|
<error line="20" column="15" severity="error" message="Parameter 'props' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="24" column="35" severity="error" message="Parameter 'error' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="31" column="16" severity="error" message="Type '{ error: {}; }' is not assignable to type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.
|
|
Property 'error' does not exist on type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'." source="TS2322" />
|
|
<error line="39" column="6" severity="error" message="Variable 'registry' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="39" column="16" severity="error" message="Variable 'mocks' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="39" column="23" severity="error" message="Variable 'renderer' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="40" column="21" severity="error" message="Parameter 'testRenderer' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="49" column="33" severity="error" message="Parameter 'Component' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="49" column="44" severity="error" message="Parameter 'props' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="50" column="29" severity="error" message="Variable 'registry' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="59" column="7" severity="error" message="Binding element 'options' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="61" column="12" severity="error" message="Type '{ results: unknown; isLoading: boolean; }' is not assignable to type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.
|
|
Type '{ results: unknown; isLoading: boolean; }' is not assignable to type 'HTMLAttributes<HTMLDivElement>'.
|
|
Types of property 'results' are incompatible.
|
|
Type 'unknown' is not assignable to type 'number | undefined'." source="TS2322" />
|
|
<error line="74" column="3" severity="error" message="Variable 'registry' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="102" column="18" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="104" column="22" severity="error" message="Property 'toHaveErrored' does not exist on type 'JestMatchers<Console>'." source="TS2339" />
|
|
<error line="105" column="4" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="124" column="18" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="126" column="22" severity="error" message="Property 'toHaveErrored' does not exist on type 'JestMatchers<Console>'." source="TS2339" />
|
|
<error line="127" column="4" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="146" column="34" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="149" column="5" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="161" column="46" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="169" column="5" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="179" column="55" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="182" column="4" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="201" column="34" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="204" column="5" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="216" column="46" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="224" column="5" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="234" column="55" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="237" column="4" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="241" column="3" severity="error" message="Variable 'mocks' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="242" column="6" severity="error" message="Parameter 'state' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="242" column="13" severity="error" message="Rest parameter 'args' implicitly has an 'any[]' type." source="TS7019" />
|
|
<error line="258" column="33" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="261" column="4" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="272" column="43" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="276" column="11" severity="error" message="Variable 'mocks' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="281" column="4" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="292" column="43" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
</file>
|
|
<file name="assets/js/base/context/hooks/payment-methods/test/use-payment-method-interface.js">
|
|
<error line="54" column="30" severity="error" message="Argument of type '{ total_items: string; total_items_tax: string; total_fees: string; total_fees_tax: string; total_discount: string; total_discount_tax: string; total_shipping: string; total_shipping_tax: string; total_tax: string; }' is not assignable to parameter of type 'CartResponseTotals'.
|
|
Type '{ total_items: string; total_items_tax: string; total_fees: string; total_fees_tax: string; total_discount: string; total_discount_tax: string; total_shipping: string; total_shipping_tax: string; total_tax: string; }' is missing the following properties from type 'CartResponseTotals': total_price, tax_lines, currency_code, currency_symbol, and 5 more." source="TS2345" />
|
|
<error line="57" column="30" severity="error" message="Argument of type '{ total_items: string; total_items_tax: string; total_fees: string; total_fees_tax: string; total_discount: string; total_discount_tax: string; total_shipping: string; total_shipping_tax: string; total_tax: string; }' is not assignable to parameter of type 'CartResponseTotals'." source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/base/context/hooks/test/use-checkout-submit.js">
|
|
<error line="33" column="6" severity="error" message="Variable 'registry' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="33" column="16" severity="error" message="Variable 'renderer' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="35" column="33" severity="error" message="Parameter 'Component' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="36" column="29" severity="error" message="Variable 'registry' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="64" column="24" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
</file>
|
|
<file name="assets/js/base/context/hooks/test/use-query-state.js">
|
|
<error line="23" column="6" severity="error" message="Variable 'registry' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="23" column="16" severity="error" message="Variable 'mocks' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="34" column="14" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="40" column="30" severity="error" message="Property 'root' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="55" column="29" severity="error" message="Variable 'registry' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="67" column="13" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="74" column="64" severity="error" message="Parameter 'props' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="78" column="9" severity="error" message="Type '{ queryState: any; setQueryState: any; }' is not assignable to type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.
|
|
Property 'queryState' does not exist on type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'." source="TS2322" />
|
|
<error line="96" column="3" severity="error" message="Variable 'mocks' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="97" column="3" severity="error" message="Variable 'mocks' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="98" column="3" severity="error" message="Variable 'registry' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="101" column="25" severity="error" message="Variable 'mocks' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="104" column="27" severity="error" message="Variable 'mocks' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="112" column="7" severity="error" message="Variable 'renderer' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="119" column="5" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="126" column="34" severity="error" message="Variable 'mocks' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="134" column="53" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="161" column="7" severity="error" message="Variable 'renderer' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="168" column="5" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="175" column="34" severity="error" message="Variable 'mocks' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="184" column="53" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="216" column="7" severity="error" message="Variable 'renderer' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="221" column="33" severity="error" message="Variable 'mocks' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="230" column="37" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="244" column="5" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="255" column="37" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
</file>
|
|
<file name="assets/js/base/context/hooks/test/use-store-products.js">
|
|
<error line="19" column="6" severity="error" message="Variable 'registry' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="19" column="23" severity="error" message="Variable 'renderer' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="20" column="21" severity="error" message="Parameter 'testRenderer' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="30" column="33" severity="error" message="Parameter 'Component' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="30" column="44" severity="error" message="Parameter 'props' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="31" column="29" severity="error" message="Variable 'registry' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="38" column="7" severity="error" message="Binding element 'query' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="40" column="12" severity="error" message="Type '{ products: ProductResponseItem[]; totalProducts: number; productsLoading: boolean; }' has no properties in common with type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'." source="TS2559" />
|
|
<error line="54" column="3" severity="error" message="Variable 'registry' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="78" column="35" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="81" column="5" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="89" column="48" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="97" column="5" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="103" column="57" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="106" column="4" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
</file>
|
|
<file name="assets/js/blocks/reviews/utils.js">
|
|
<error line="8" column="30" severity="error" message="Parameter 'sortValue' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="32" column="29" severity="error" message="Parameter 'args' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="41" column="34" severity="error" message="Parameter 'reviews' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="51" column="36" severity="error" message="Parameter 'attributes' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="84" column="31" severity="error" message="Parameter 'attributes' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="106" column="3" severity="error" message="Element implicitly has an 'any' type because expression of type '"data-product-id"' can't be used to index type '{ 'data-image-type': any; 'data-orderby': any; 'data-reviews-on-page-load': any; 'data-reviews-on-load-more': any; 'data-show-load-more': any; 'data-show-orderby': any; }'.
|
|
Property 'data-product-id' does not exist on type '{ 'data-image-type': any; 'data-orderby': any; 'data-reviews-on-page-load': any; 'data-reviews-on-load-more': any; 'data-show-load-more': any; 'data-show-orderby': any; }'." source="TS7053" />
|
|
<error line="110" column="3" severity="error" message="Element implicitly has an 'any' type because expression of type '"data-category-ids"' can't be used to index type '{ 'data-image-type': any; 'data-orderby': any; 'data-reviews-on-page-load': any; 'data-reviews-on-load-more': any; 'data-show-load-more': any; 'data-show-orderby': any; }'.
|
|
Property 'data-category-ids' does not exist on type '{ 'data-image-type': any; 'data-orderby': any; 'data-reviews-on-page-load': any; 'data-reviews-on-load-more': any; 'data-show-load-more': any; 'data-show-orderby': any; }'." source="TS7053" />
|
|
</file>
|
|
<file name="assets/js/base/hocs/with-reviews.js">
|
|
<error line="40" column="21" severity="error" message="Parameter 'f' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="66" column="23" severity="error" message="Parameter 'prevProps' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="77" column="25" severity="error" message="Parameter 'prevProps' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="77" column="36" severity="error" message="Parameter 'nextProps' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="94" column="12" severity="error" message="Parameter 'reviewsToSkip' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="109" column="10" severity="error" message="Property 'category_id' does not exist on type '{ order: any; orderby: any; per_page: number; offset: any; }'." source="TS2339" />
|
|
<error line="115" column="10" severity="error" message="Property 'product_id' does not exist on type '{ order: any; orderby: any; per_page: number; offset: any; }'." source="TS2339" />
|
|
<error line="147" column="24" severity="error" message="Parameter 'oldReviews' implicitly has an 'any[]' type." source="TS7006" />
|
|
<error line="184" column="22" severity="error" message="Parameter 'e' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="212" column="10" severity="error" message="Property 'displayName' does not exist on type 'Function'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/base/hocs/test/with-reviews.js">
|
|
<error line="40" column="38" severity="error" message="Parameter 'props' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="43" column="4" severity="error" message="Type '{ error: any; getReviews: any; appendReviews: any; onChangeArgs: any; isLoading: any; reviews: any; totalReviews: any; }' is not assignable to type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.
|
|
Property 'error' does not exist on type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'." source="TS2322" />
|
|
<error line="66" column="6" severity="error" message="Variable 'renderer' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="68" column="24" severity="error" message="Property 'mockReset' does not exist on type '(args: any) => Promise<any>'." source="TS2339" />
|
|
<error line="74" column="6" severity="error" message="Property 'mockImplementationOnce' does not exist on type '(args: any) => Promise<any>'." source="TS2339" />
|
|
<error line="98" column="4" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="118" column="25" severity="error" message="Property 'mockImplementation' does not exist on type '(args: any) => Promise<any>'." source="TS2339" />
|
|
<error line="128" column="18" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="143" column="25" severity="error" message="Property 'mockImplementation' does not exist on type '(args: any) => Promise<any>'." source="TS2339" />
|
|
<error line="144" column="30" severity="error" message="Property 'mockImplementation' does not exist on type '(error: { json?: Function | undefined; message?: string | undefined; type?: string | undefined; }) => Promise<{ message: string; type: string; }>'." source="TS2339" />
|
|
<error line="151" column="24" severity="error" message="This expression is not callable.
|
|
Type 'Promise<never>' has no call signatures." source="TS2349" />
|
|
<error line="154" column="18" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
</file>
|
|
<file name="assets/js/base/hocs/with-scroll-to-top/test/index.js">
|
|
<error line="27" column="20" severity="error" message="Binding element 'inView' implicitly has an 'any' type." source="TS7031" />
|
|
</file>
|
|
<file name="assets/js/base/hooks/test/use-position-relative-to-viewport.js">
|
|
<error line="62" column="41" severity="error" message="Parameter 'entries' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/base/hooks/test/use-previous.js">
|
|
<error line="15" column="28" severity="error" message="Binding element 'testValue' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="15" column="39" severity="error" message="Binding element 'validation' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="17" column="15" severity="error" message="Type '{ testValue: any; previousValue: any; }' is not assignable to type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.
|
|
Property 'testValue' does not exist on type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'." source="TS2322" />
|
|
<error line="20" column="6" severity="error" message="Variable 'renderer' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="25" column="37" severity="error" message="Property 'validation' is missing in type '{ testValue: number; }' but required in type '{ testValue: any; validation: any; }'." source="TS2741" />
|
|
<error line="27" column="21" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="29" column="4" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="39" column="37" severity="error" message="Property 'validation' is missing in type '{ testValue: number; }' but required in type '{ testValue: any; validation: any; }'." source="TS2741" />
|
|
<error line="43" column="4" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="43" column="22" severity="error" message="Property 'validation' is missing in type '{ testValue: number; }' but required in type '{ testValue: any; validation: any; }'." source="TS2741" />
|
|
<error line="45" column="15" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="47" column="4" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="52" column="4" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="52" column="22" severity="error" message="Property 'validation' is missing in type '{ testValue: number; }' but required in type '{ testValue: any; validation: any; }'." source="TS2741" />
|
|
<error line="54" column="15" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="56" column="4" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="71" column="4" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="75" column="15" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="77" column="4" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="82" column="4" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="86" column="15" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="88" column="4" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
</file>
|
|
<file name="assets/js/base/hooks/test/use-shallow-equal.js">
|
|
<error line="15" column="28" severity="error" message="Binding element 'testValue' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="17" column="15" severity="error" message="Type '{ newValue: any; }' is not assignable to type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.
|
|
Property 'newValue' does not exist on type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'." source="TS2322" />
|
|
<error line="19" column="6" severity="error" message="Variable 'renderer' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="37" column="20" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="41" column="5" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="43" column="20" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="65" column="20" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="69" column="5" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="71" column="20" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
</file>
|
|
<file name="assets/js/blocks/active-filters/block.tsx">
|
|
<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.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" />
|
|
<error line="18" column="2" severity="error" message="Binding element 'heading' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="19" column="2" severity="error" message="Binding element 'instanceId' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="23" column="4" severity="error" message="Type '{ children: Element[]; className: any; }' is not assignable to type 'IntrinsicAttributes'.
|
|
Property 'children' does not exist on type 'IntrinsicAttributes'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/filter-wrapper/upgrade.tsx">
|
|
<error line="28" column="12" severity="error" message="Property 'getBlockParentsByBlockName' does not exist on type 'typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@types/wordpress__block-editor/store/selectors")'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/blocks/active-filters/edit.tsx">
|
|
<error line="13" column="2" severity="error" message="Module '"@wordpress/components"' has no exported member '__experimentalToggleGroupControl'." source="TS2305" />
|
|
<error line="15" column="2" severity="error" message="Module '"@wordpress/components"' has no exported member '__experimentalToggleGroupControlOption'." source="TS2305" />
|
|
</file>
|
|
<file name="assets/js/blocks/active-filters/index.tsx">
|
|
<error line="18" column="20" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<Attributes>, settings?: Partial<BlockConfiguration<Attributes>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type '{ name: string; version: string; title: string; description: string; category: string; keywords: string[]; supports: { html: boolean; multiple: boolean; inserter: boolean; color: { text: boolean; background: boolean; }; lock: boolean; }; attributes: { ...; }; textdomain: string; apiVersion: number; $schema: string; }' is not assignable to parameter of type 'BlockConfiguration<Attributes>'.
|
|
Type '{ name: string; version: string; title: string; description: string; category: string; keywords: string[]; supports: { html: boolean; multiple: boolean; inserter: boolean; color: { text: boolean; background: boolean; }; lock: boolean; }; attributes: { ...; }; textdomain: string; apiVersion: number; $schema: string; }' is not assignable to type 'Partial<Omit<Block<Attributes>, "icon">>'.
|
|
Types of property 'attributes' are incompatible.
|
|
Property 'heading' is missing in type '{ displayStyle: { type: string; default: string; }; headingLevel: { type: string; default: number; }; }' but required in type '{ readonly heading: BlockAttribute<string>; readonly headingLevel: BlockAttribute<number>; readonly displayStyle: BlockAttribute<string>; readonly className?: BlockAttribute<...>; }'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<Attributes>): Block<Attributes> | undefined', gave the following error.
|
|
Argument of type '{ name: string; version: string; title: string; description: string; category: string; keywords: string[]; supports: { html: boolean; multiple: boolean; inserter: boolean; color: { text: boolean; background: boolean; }; lock: boolean; }; attributes: { ...; }; textdomain: string; apiVersion: number; $schema: string; }' is not assignable to parameter of type 'string'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/attribute-filter/checkbox-filter.tsx">
|
|
<error line="36" column="4" severity="error" message="Type '{ className: string; options: DisplayOption[] | undefined; checked: string[] | undefined; onChange: (value: string) => void; isLoading: false; isDisabled: false; }' is not assignable to type 'CheckboxListProps' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
|
Types of property 'checked' are incompatible.
|
|
Type 'string[] | undefined' is not assignable to type 'string[]'.
|
|
Type 'undefined' is not assignable to type 'string[]'." source="TS2375" />
|
|
</file>
|
|
<file name="assets/js/blocks/attribute-filter/block.tsx">
|
|
<error line="22" column="24" severity="error" message="Could not find a declaration file for module 'wordpress-components'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/wordpress-components/build/index.js' implicitly has an 'any' type.
|
|
If the '@wordpress/components' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__components'" source="TS7016" />
|
|
</file>
|
|
<file name="assets/js/blocks/attribute-filter/edit.tsx">
|
|
<error line="28" column="2" severity="error" message="Module '"@wordpress/components"' has no exported member '__experimentalToggleGroupControl'." source="TS2305" />
|
|
<error line="30" column="2" severity="error" message="Module '"@wordpress/components"' has no exported member '__experimentalToggleGroupControlOption'." source="TS2305" />
|
|
<error line="153" column="5" severity="error" message="Type '{ id: number; name: string; }[]' is not assignable to type 'SearchListItemsType'.
|
|
Type '{ id: number; name: string; }[]' is not assignable to type 'SearchListItemType[]'.
|
|
Type '{ id: number; name: string; }' is missing the following properties from type 'SearchListItemType': value, parent, count, children, breadcrumbs" source="TS2322" />
|
|
<error line="154" column="5" severity="error" message="Type '{ id: number; name: string; }[]' is not assignable to type 'SearchListItemsType'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/attribute-filter/index.tsx">
|
|
<error line="18" column="20" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<BlockAttributes>, settings?: Partial<BlockConfiguration<BlockAttributes>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type '{ name: string; version: string; title: string; description: string; category: string; keywords: string[]; supports: { html: boolean; color: { text: boolean; background: boolean; }; inserter: boolean; lock: boolean; }; ... 4 more ...; $schema: string; }' is not assignable to parameter of type 'BlockConfiguration<BlockAttributes>'.
|
|
Type '{ name: string; version: string; title: string; description: string; category: string; keywords: string[]; supports: { html: boolean; color: { text: boolean; background: boolean; }; inserter: boolean; lock: boolean; }; ... 4 more ...; $schema: string; }' is not assignable to type 'Partial<Omit<Block<BlockAttributes>, "icon">>'.
|
|
Types of property 'attributes' are incompatible.
|
|
Property 'heading' is missing in type '{ className: { type: string; default: string; }; attributeId: { type: string; default: number; }; showCounts: { type: string; default: boolean; }; queryType: { type: string; default: string; }; headingLevel: { ...; }; displayStyle: { ...; }; showFilterButton: { ...; }; selectType: { ...; }; isPreview: { ...; }; }' but required in type '{ readonly className?: BlockAttribute<string | undefined>; readonly attributeId: BlockAttribute<number>; readonly showCounts: BlockAttribute<boolean>; ... 6 more ...; readonly isPreview?: BlockAttribute<...>; }'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<BlockAttributes>): Block<BlockAttributes> | undefined', gave the following error.
|
|
Argument of type '{ name: string; version: string; title: string; description: string; category: string; keywords: string[]; supports: { html: boolean; color: { text: boolean; background: boolean; }; inserter: boolean; lock: boolean; }; ... 4 more ...; $schema: string; }' is not assignable to parameter of type 'string'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/attribute-filter/test/block.tsx">
|
|
<error line="19" column="33" severity="error" message="Cannot find name 'SetWindowUrlParams'." source="TS2304" />
|
|
<error line="154" column="26" severity="error" message="Property 'toBeDisabled' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="162" column="30" severity="error" message="Property 'toBeDisabled' does not exist on type 'Matchers<void, HTMLElement>'." source="TS2339" />
|
|
<error line="168" column="28" severity="error" message="Expected 1 arguments, but got 0." source="TS2554" />
|
|
<error line="170" column="26" severity="error" message="Property 'toBeDisabled' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="175" column="5" severity="error" message="Expected 1 arguments, but got 0." source="TS2554" />
|
|
<error line="178" column="30" severity="error" message="Property 'toBeDisabled' does not exist on type 'Matchers<void, HTMLElement>'." source="TS2339" />
|
|
<error line="185" column="30" severity="error" message="Property 'toBeDisabled' does not exist on type 'Matchers<void, HTMLElement>'." source="TS2339" />
|
|
<error line="188" column="26" severity="error" message="Property 'toBeDisabled' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart/block.js">
|
|
<error line="25" column="55" severity="error" message="Expected 0 arguments, but got 1." source="TS2554" />
|
|
<error line="27" column="18" severity="error" message="Binding element 'children' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="29" column="10" severity="error" message="Property 'hasDarkControls' does not exist on type '{}'." source="TS2339" />
|
|
<error line="44" column="27" severity="error" message="Binding element 'scrollToTop' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="69" column="19" severity="error" message="Binding element 'attributes' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="69" column="31" severity="error" message="Binding element 'children' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="69" column="41" severity="error" message="Binding element 'scrollToTop' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="84" column="3" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(props: BlockErrorBoundaryProps | Readonly<BlockErrorBoundaryProps>): BlockErrorBoundary', gave the following error.
|
|
Type 'unknown' is not assignable to type 'boolean'.
|
|
Overload 2 of 2, '(props: BlockErrorBoundaryProps, context: any): BlockErrorBoundary', gave the following error.
|
|
Type 'unknown' is not assignable to type 'boolean'." source="TS2769" />
|
|
<error line="96" column="33" severity="error" message="Argument of type '({ attributes, children, scrollToTop }: { attributes: any; children: any; scrollToTop: any; }) => Element' is not assignable to parameter of type 'FunctionComponent<Record<string, unknown>>'.
|
|
Types of parameters '__0' and 'props' are incompatible.
|
|
Type 'PropsWithChildren<Record<string, unknown>>' is missing the following properties from type '{ attributes: any; children: any; scrollToTop: any; }': attributes, scrollToTop" source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart-checkout-shared/hacks.ts">
|
|
<error line="58" column="44" severity="error" message="Property 'getSelectedBlock' does not exist on type 'typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@types/wordpress__rich-text/store/selectors")'." source="TS2339" />
|
|
<error line="81" column="10" severity="error" message="Property 'getBlock' does not exist on type 'typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@types/wordpress__rich-text/store/selectors")'." source="TS2339" />
|
|
<error line="91" column="43" severity="error" message="Property 'default' does not exist on type 'BlockAttribute<any>'.
|
|
Property 'default' does not exist on type '"string"'." source="TS2339" />
|
|
<error line="92" column="39" severity="error" message="Property 'default' does not exist on type 'BlockAttribute<any>'.
|
|
Property 'default' does not exist on type '"string"'." source="TS2339" />
|
|
<error line="175" column="2" severity="error" message="Type 'Omit<{ ref: MutableRefObject<HTMLElement | undefined>; }, "ref"> & Merged & Reserved' is not assignable to type 'Record<string, unknown>'.
|
|
Index signature for type 'string' is missing in type 'Omit<{ ref: MutableRefObject<HTMLElement | undefined>; }, "ref"> & Merged & Reserved'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart-checkout-shared/use-forced-layout.ts">
|
|
<error line="14" column="2" severity="error" message="Module '"@wordpress/blocks"' has no exported member 'createBlocksFromInnerBlocksTemplate'." source="TS2305" />
|
|
<error line="23" column="34" severity="error" message="Property 'remove' does not exist on type 'Attribute'.
|
|
Property 'remove' does not exist on type '{ source: "attribute"; attribute: string; selector?: string | undefined; } & { type: "boolean"; default?: boolean | undefined; }'." source="TS2339" />
|
|
<error line="23" column="70" severity="error" message="Property 'remove' does not exist on type 'string | number | boolean'.
|
|
Property 'remove' does not exist on type 'string'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart-checkout-shared/use-view-switcher.tsx">
|
|
<error line="7" column="24" severity="error" message="Module '"@wordpress/components"' has no exported member 'ToolbarDropdownMenu'." source="TS2305" />
|
|
<error line="32" column="10" severity="error" message="Property 'getBlock' does not exist on type 'typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@types/wordpress__rich-text/store/selectors")'." source="TS2339" />
|
|
<error line="32" column="20" severity="error" message="Property 'getSelectedBlockClientId' does not exist on type 'typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@types/wordpress__rich-text/store/selectors")'." source="TS2339" />
|
|
<error line="32" column="46" severity="error" message="Property 'getBlockParentsByBlockName' does not exist on type 'typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@types/wordpress__rich-text/store/selectors")'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/editor-components/default-notice/index.tsx">
|
|
<error line="52" column="6" severity="error" message="Object is of type 'unknown'." source="TS2571" />
|
|
<error line="128" column="4" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(props: Props, context?: any): ReactElement<any, any> | Component<Props, any, any> | null', gave the following error.
|
|
Type '{ children: string | Element; className: string; status: "warning" | "success"; onRemove: () => void; spokenMessage: string; }' is not assignable to type 'IntrinsicAttributes & Props'.
|
|
Property 'spokenMessage' does not exist on type 'IntrinsicAttributes & Props'.
|
|
Overload 2 of 2, '(props: PropsWithChildren<Props>, context?: any): ReactElement<any, any> | Component<Props, any, any> | null', gave the following error.
|
|
Type '{ children: string | Element; className: string; status: "warning" | "success"; onRemove: () => void; spokenMessage: string; }' is not assignable to type 'IntrinsicAttributes & Props & { children?: ReactNode; }'.
|
|
Property 'spokenMessage' does not exist on type 'IntrinsicAttributes & Props & { children?: ReactNode; }'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/editor-components/feedback-prompt/index.js">
|
|
<error line="67" column="3" severity="error" message="'FeedbackPrompt' cannot be used as a JSX component.
|
|
Its return type 'false | Element' is not a valid JSX element.
|
|
Type 'boolean' is not assignable to type 'Element'." source="TS2786" />
|
|
<error line="77" column="3" severity="error" message="'FeedbackPrompt' cannot be used as a JSX component.
|
|
Its return type 'false | Element' is not a valid JSX element." source="TS2786" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart-checkout-shared/sidebar-notices/index.tsx">
|
|
<error line="28" column="6" severity="error" message="Cannot redeclare block-scoped variable 'store'." source="TS2451" />
|
|
<error line="32" column="21" severity="error" message="Parameter 'props' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="49" column="13" severity="error" message="Property 'getBlockParentsByBlockName' does not exist on type 'typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@types/wordpress__rich-text/store/selectors")'." source="TS2339" />
|
|
<error line="49" column="41" severity="error" message="Property 'getBlockName' does not exist on type 'typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@types/wordpress__rich-text/store/selectors")'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart/inner-blocks/filled-cart-block/index.tsx">
|
|
<error line="13" 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 '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 '{ icon: { src: JSX.Element; }; edit: ({ clientId }: { clientId: string; }) => JSX.Element; save: () => JSX.Element; }' is not assignable to parameter of type 'BlockConfiguration<{}>'.
|
|
Type '{ icon: { src: Element; }; edit: ({ clientId }: { clientId: string; }) => 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/inner-blocks/cart-items-block/index.tsx">
|
|
<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 '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 '{ icon: { src: JSX.Element; }; edit: ({ clientId }: Props) => JSX.Element; save: () => JSX.Element; }' is not assignable to parameter of type 'BlockConfiguration<{}>'.
|
|
Type '{ icon: { src: Element; }; edit: ({ clientId }: Props) => 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/inner-blocks/cart-line-items-block/index.tsx">
|
|
<error line="12" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ className: string; }>, settings?: Partial<BlockConfiguration<{ className: string; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ className: string; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ className: string; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ className: string; }>): Block<{ className: string; }> | undefined', gave the following error.
|
|
Argument of type '{ icon: { src: JSX.Element; }; edit: ({ attributes, }: { attributes: { className: string; }; }) => JSX.Element; save: () => JSX.Element; }' is not assignable to parameter of type 'BlockConfiguration<{ className: string; }>'.
|
|
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="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 '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 '{ 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/inner-blocks/cart-cross-sells-products/index.tsx">
|
|
<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 '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 '{ 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.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{}>, settings?: Partial<BlockConfiguration<{}>> | undefined): Block<{}> | undefined', gave the following error.
|
|
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 '{ icon: { src: JSX.Element; }; edit: ({ clientId }: { clientId: string; }) => JSX.Element; save: () => JSX.Element; }' is not assignable to parameter of type 'BlockConfiguration<{}>'.
|
|
Type '{ icon: { src: Element; }; edit: ({ clientId }: { clientId: string; }) => 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-checkout-shared/payment-methods/no-payment-methods/index.js">
|
|
<error line="5" column="45" severity="error" message="Could not find a declaration file for module 'wordpress-components'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/wordpress-components/build/index.js' implicitly has an 'any' type.
|
|
If the '@wordpress/components' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__components'" source="TS7016" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart-checkout-shared/payment-methods/payment-method-error-boundary.js">
|
|
<error line="9" column="10" severity="error" message="Module '"@woocommerce/base-context/hooks"' has no exported member 'noticeContexts'." source="TS2305" />
|
|
<error line="14" column="35" severity="error" message="Parameter 'error' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="50" column="6" severity="error" message="Type '{ id: string; content: string; isDismissible: boolean; status: string; }[]' is not assignable to type 'Notice[]'.
|
|
Type '{ id: string; content: string; isDismissible: boolean; status: string; }' is missing the following properties from type 'Notice': spokenMessage, __unstableHTML, type, speak, actions" source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart-checkout-shared/payment-methods/payment-method-options.js">
|
|
<error line="60" column="22" severity="error" message="No overload matches this call.
|
|
The last overload gave the following error.
|
|
Argument of type 'number | boolean | {} | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | null | undefined' is not assignable to parameter of type 'ReactElement<any, string | JSXElementConstructor<any>>'.
|
|
Type 'undefined' is not assignable to type 'ReactElement<any, string | JSXElementConstructor<any>>'." source="TS2769" />
|
|
<error line="65" column="24" severity="error" message="Type 'boolean | undefined' is not assignable to type 'boolean'." source="TS2322" />
|
|
<error line="66" column="22" severity="error" message="No overload matches this call.
|
|
The last overload gave the following error.
|
|
Argument of type 'ReactNode' is not assignable to parameter of type 'ReactElement<any, string | JSXElementConstructor<any>>'.
|
|
Type 'undefined' is not assignable to type 'ReactElement<any, string | JSXElementConstructor<any>>'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart-checkout-shared/payment-methods/saved-payment-method-options.js">
|
|
<error line="17" column="56" severity="error" message="Namespace '"/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/types/type-defs/contexts"' has no exported member 'CustomerPaymentMethod'." source="TS2694" />
|
|
<error line="18" column="56" severity="error" message="Namespace '"/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/types/type-defs/contexts"' has no exported member 'PaymentStatusDispatch'." source="TS2694" />
|
|
<error line="89" column="19" severity="error" message="Parameter 'token' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="126" column="6" severity="error" message="No overload matches this call.
|
|
The last overload gave the following error.
|
|
Argument of type 'ReactNode' is not assignable to parameter of type 'ReactElement<any, string | JSXElementConstructor<any>>'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart-checkout-shared/payment-methods/payment-methods.js">
|
|
<error line="50" column="7" severity="error" message="Type 'string[]' is not assignable to type 'string'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart/inner-blocks/cart-express-payment-block/edit.tsx">
|
|
<error line="6" column="37" severity="error" message="Could not find a declaration file for module 'wordpress-components'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/wordpress-components/build/index.js' implicitly has an 'any' type.
|
|
If the '@wordpress/components' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__components'" source="TS7016" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart/inner-blocks/cart-express-payment-block/index.tsx">
|
|
<error line="12" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ className: string; }>, settings?: Partial<BlockConfiguration<{ className: string; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ className: string; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ className: string; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ className: string; }>): Block<{ className: string; }> | undefined', gave the following error.
|
|
Argument of type '{ icon: { src: JSX.Element; }; edit: ({ attributes, }: { attributes: { className: string; }; }) => JSX.Element | null; save: () => JSX.Element; }' is not assignable to parameter of type 'BlockConfiguration<{ className: string; }>'.
|
|
Type '{ icon: { src: Element; }; edit: ({ attributes, }: { attributes: { className: string; }; }) => Element | null; 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/editor-components/page-selector/index.js">
|
|
<error line="12" column="26" severity="error" message="Binding element 'setPageId' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="12" column="37" severity="error" message="Binding element 'pageId' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="12" column="45" severity="error" message="Binding element 'labels' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="31" column="8" severity="error" message="Type 'number' is not assignable to type 'string'." source="TS2322" />
|
|
<error line="33" column="7" severity="error" message="Type '{ label: string; value: number; }' is not assignable to type 'Option'.
|
|
Types of property 'value' are incompatible.
|
|
Type 'number' is not assignable to type 'string'." source="TS2322" />
|
|
<error line="35" column="29" severity="error" message="Argument of type 'Record<string, any>' is not assignable to parameter of type '{ title: { raw: string; }; slug: string; }'.
|
|
Type 'Record<string, any>' is missing the following properties from type '{ title: { raw: string; }; slug: string; }': title, slug" source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart/inner-blocks/proceed-to-checkout-block/block.tsx">
|
|
<error line="62" column="4" severity="error" message="Type '{ children: string; className: string; href: unknown; disabled: boolean; onClick: () => void; showSpinner: boolean; }' is not assignable to type 'IntrinsicAttributes & ButtonProps'.
|
|
Property 'href' does not exist on type 'IntrinsicAttributes & ButtonProps'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart/inner-blocks/proceed-to-checkout-block/edit.tsx">
|
|
<error line="47" column="21" severity="error" message="Parameter 'id' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart/inner-blocks/proceed-to-checkout-block/index.tsx">
|
|
<error line="13" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ checkoutPageId: number; className: string; }>, settings?: Partial<BlockConfiguration<{ checkoutPageId: number; className: string; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ checkoutPageId: number; className: string; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ checkoutPageId: number; className: string; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ checkoutPageId: number; className: string; }>): Block<{ checkoutPageId: number; className: string; }> | undefined', gave the following error.
|
|
Property 'className' is missing in type '{ checkoutPageId: { type: string; default: number; }; lock: { type: string; default: { move: boolean; remove: boolean; }; }; }' but required in type '{ readonly checkoutPageId: BlockAttribute<number>; readonly className: BlockAttribute<string>; }'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart/inner-blocks/empty-cart-block/index.tsx">
|
|
<error line="13" 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 '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 '{ icon: { src: JSX.Element; }; edit: ({ clientId }: { clientId: string; }) => JSX.Element; save: () => JSX.Element; }' is not assignable to parameter of type 'BlockConfiguration<{}>'.
|
|
Type '{ icon: { src: Element; }; edit: ({ clientId }: { clientId: string; }) => 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/inner-blocks/cart-accepted-payment-methods-block/block.tsx">
|
|
<error line="14" column="40" severity="error" message="Argument of type 'EmptyObjectType | Record<string, PaymentMethodConfigInstance> | Record<string, ExpressPaymentMethodConfigInstance>' is not assignable to parameter of type 'PaymentMethods'.
|
|
Type 'Record<string, ExpressPaymentMethodConfigInstance>' is not assignable to type 'PaymentMethods'." source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart/inner-blocks/cart-accepted-payment-methods-block/index.tsx">
|
|
<error line="12" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ className: string; }>, settings?: Partial<BlockConfiguration<{ className: string; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ className: string; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ className: string; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ className: string; }>): Block<{ className: string; }> | undefined', gave the following error.
|
|
Argument of type '{ icon: { src: JSX.Element; }; edit: ({ attributes, }: { attributes: { className: string; }; }) => JSX.Element; save: () => JSX.Element; }' is not assignable to parameter of type 'BlockConfiguration<{ className: string; }>'.
|
|
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-order-summary-block/index.tsx">
|
|
<error line="13" 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 '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 '{ icon: { src: JSX.Element; }; edit: ({ clientId }: { clientId: string; }) => JSX.Element; save: () => JSX.Element; }' is not assignable to parameter of type 'BlockConfiguration<{}>'.
|
|
Type '{ icon: { src: Element; }; edit: ({ clientId }: { clientId: string; }) => 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/inner-blocks/cart-order-summary-subtotal/index.tsx">
|
|
<error line="13" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ className: string; }>, settings?: Partial<BlockConfiguration<{ className: string; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ className: string; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ className: string; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ className: string; }>): Block<{ className: string; }> | undefined', gave the following error.
|
|
Argument of type '{ icon: { src: JSX.Element; }; edit: ({ attributes, }: { attributes: { className: string; }; setAttributes: (attributes: Record<string, unknown>) => void; }) => JSX.Element; save: () => JSX.Element; }' is not assignable to parameter of type 'BlockConfiguration<{ className: string; }>'.
|
|
Type '{ icon: { src: Element; }; edit: ({ attributes, }: { attributes: { className: string; }; setAttributes: (attributes: Record<string, unknown>) => void; }) => 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-order-summary-fee/index.tsx">
|
|
<error line="13" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ className: string; }>, settings?: Partial<BlockConfiguration<{ className: string; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ className: string; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ className: string; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ className: string; }>): Block<{ className: string; }> | undefined', gave the following error.
|
|
Argument of type '{ icon: { src: JSX.Element; }; edit: ({ attributes, }: { attributes: { className: string; }; setAttributes: (attributes: Record<string, unknown>) => void; }) => JSX.Element; save: () => JSX.Element; }' is not assignable to parameter of type 'BlockConfiguration<{ className: string; }>'.
|
|
Type '{ icon: { src: Element; }; edit: ({ attributes, }: { attributes: { className: string; }; setAttributes: (attributes: Record<string, unknown>) => void; }) => 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-order-summary-discount/index.tsx">
|
|
<error line="13" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ className: string; }>, settings?: Partial<BlockConfiguration<{ className: string; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ className: string; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ className: string; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ className: string; }>): Block<{ className: string; }> | undefined', gave the following error.
|
|
Argument of type '{ icon: { src: JSX.Element; }; edit: ({ attributes, }: { attributes: { className: string; }; setAttributes: (attributes: Record<string, unknown>) => void; }) => JSX.Element; save: () => JSX.Element; }' is not assignable to parameter of type 'BlockConfiguration<{ className: string; }>'.
|
|
Type '{ icon: { src: Element; }; edit: ({ attributes, }: { attributes: { className: string; }; setAttributes: (attributes: Record<string, unknown>) => void; }) => 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-order-summary-shipping/index.tsx">
|
|
<error line="14" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ isShippingCalculatorEnabled: boolean; className: string; lock: { move: boolean; remove: boolean; }; }>, settings?: Partial<BlockConfiguration<{ isShippingCalculatorEnabled: boolean; className: string; lock: { ...; }; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ isShippingCalculatorEnabled: boolean; className: string; lock: { move: boolean; remove: boolean; }; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ isShippingCalculatorEnabled: boolean; className: string; lock: { move: boolean; remove: boolean; }; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ isShippingCalculatorEnabled: boolean; className: string; lock: { move: boolean; remove: boolean; }; }>): Block<{ isShippingCalculatorEnabled: boolean; className: string; lock: { ...; }; }> | undefined', gave the following error.
|
|
Property 'className' is missing in type '{ isShippingCalculatorEnabled: { type: string; default: unknown; }; lock: { type: string; default: { move: boolean; remove: boolean; }; }; }' but required in type '{ readonly isShippingCalculatorEnabled: BlockAttribute<boolean>; readonly className: BlockAttribute<string>; readonly lock: BlockAttribute<{ move: boolean; remove: boolean; }>; }'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart/inner-blocks/cart-order-summary-coupon-form/index.tsx">
|
|
<error line="12" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ className: string; }>, settings?: Partial<BlockConfiguration<{ className: string; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ className: string; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ className: string; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ className: string; }>): Block<{ className: string; }> | undefined', gave the following error.
|
|
Argument of type '{ icon: { src: JSX.Element; }; edit: ({ attributes, }: { attributes: { className: string; }; setAttributes: (attributes: Record<string, unknown>) => void; }) => JSX.Element; save: () => JSX.Element; }' is not assignable to parameter of type 'BlockConfiguration<{ className: string; }>'.
|
|
Type '{ icon: { src: Element; }; edit: ({ attributes, }: { attributes: { className: string; }; setAttributes: (attributes: Record<string, unknown>) => void; }) => 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-order-summary-taxes/index.tsx">
|
|
<error line="14" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ className: string; showRateAfterTaxName: boolean; }>, settings?: Partial<BlockConfiguration<{ className: string; showRateAfterTaxName: boolean; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ className: string; showRateAfterTaxName: boolean; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ className: string; showRateAfterTaxName: boolean; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ className: string; showRateAfterTaxName: boolean; }>): Block<{ className: string; showRateAfterTaxName: boolean; }> | undefined', gave the following error.
|
|
Property 'className' is missing in type '{ showRateAfterTaxName: { type: string; default: unknown; }; lock: { type: string; default: { remove: boolean; move: boolean; }; }; }' but required in type '{ readonly className: BlockAttribute<string>; readonly showRateAfterTaxName: BlockAttribute<boolean>; }'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart/inner-blocks/cart-order-summary-heading/index.tsx">
|
|
<error line="13" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ content: string; className: string; }>, settings?: Partial<BlockConfiguration<{ content: string; className: string; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ content: string; className: string; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ content: string; className: string; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ content: string; className: string; }>): Block<{ content: string; className: string; }> | undefined', gave the following error.
|
|
Argument of type '{ icon: { src: JSX.Element; }; edit: ({ attributes, setAttributes, }: { attributes: { content: string; className: string; }; setAttributes: (attributes: Record<string, unknown>) => void; }) => JSX.Element; save: () => JSX.Element; }' is not assignable to parameter of type 'BlockConfiguration<{ content: string; className: string; }>'.
|
|
Type '{ icon: { src: Element; }; edit: ({ attributes, setAttributes, }: { attributes: { content: string; className: string; }; setAttributes: (attributes: Record<string, unknown>) => void; }) => Element; save: () => Element; }' is missing the following properties from type 'Pick<Block<{ content: string; className: string; }>, "title" | "category" | "attributes">': title, category, attributes" source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart/edit.js">
|
|
<error line="56" column="25" severity="error" message="Binding element 'className' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="56" column="36" severity="error" message="Binding element 'attributes' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="56" column="48" severity="error" message="Binding element 'setAttributes' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="56" column="63" severity="error" message="Binding element 'clientId' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="74" column="3" severity="error" message="Type '{}[][]' is not assignable to type 'TemplateArray'.
|
|
Type '{}[]' is not assignable to type 'Template'.
|
|
Target requires 1 element(s) but source may have fewer." source="TS2322" />
|
|
<error line="113" column="9" severity="error" message="Type '{}[][]' is not assignable to type 'readonly Template[]'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart/inner-blocks/filled-cart-block/frontend.tsx">
|
|
<error line="32" column="42" severity="error" message="Property 'type' does not exist on type 'Notice'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart/inner-blocks/cart-items-block/frontend.tsx">
|
|
<error line="15" column="4" severity="error" message="Type '{ children: Element; className: string; }' is not assignable to type 'IntrinsicAttributes & RefAttributes<any>'.
|
|
Property 'children' does not exist on type 'IntrinsicAttributes & RefAttributes<any>'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart/inner-blocks/cart-totals-block/frontend.tsx">
|
|
<error line="20" column="4" severity="error" message="Type '{ children: Element | Element[]; className: string; }' is not assignable to type 'IntrinsicAttributes & RefAttributes<any>'.
|
|
Property 'children' does not exist on type 'IntrinsicAttributes & RefAttributes<any>'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart/inner-blocks/register-components.ts">
|
|
<error line="18" column="2" severity="error" message="Type '{ name: string; version: string; title: string; description: string; category: string; supports: { align: string[]; html: boolean; multiple: boolean; reusable: boolean; inserter: boolean; lock: boolean; }; ... 4 more ...; apiVersion: number; }' is not assignable to type 'CheckoutBlockOptionsMetadata'.
|
|
The types of 'supports.align' are incompatible between these types.
|
|
Type 'string[]' is not assignable to type 'boolean | readonly BlockAlignment[] | undefined'.
|
|
Type 'string[]' is not assignable to type 'readonly BlockAlignment[]'.
|
|
Type 'string' is not assignable to type 'BlockAlignment'." source="TS2322" />
|
|
<error line="19" column="2" severity="error" message="Type 'LazyExoticComponent<({ children, className, }: { children: Element | Element[]; className: string; }) => Element | null>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ children, className, }: { children: Element | Element[]; className: string; }) => Element | null>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ children, className, }: { children: Element | Element[]; className: string; }) => Element | null>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type '{ children: Element | Element[]; className: string; }'.
|
|
Property 'className' is missing in type '{ children?: ReactNode; }' but required in type '{ children: Element | Element[]; className: string; }'." source="TS2322" />
|
|
<error line="29" column="2" severity="error" message="Type '{ name: string; version: string; title: string; description: string; category: string; supports: { align: string[]; html: boolean; multiple: boolean; reusable: boolean; inserter: boolean; lock: boolean; }; ... 4 more ...; apiVersion: number; }' is not assignable to type 'CheckoutBlockOptionsMetadata'.
|
|
The types of 'supports.align' are incompatible between these types.
|
|
Type 'string[]' is not assignable to type 'boolean | readonly BlockAlignment[] | undefined'." source="TS2322" />
|
|
<error line="30" column="2" severity="error" message="Type 'LazyExoticComponent<({ children, className, }: { children: Element; className: string; }) => Element | null>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ children, className, }: { children: Element; className: string; }) => Element | null>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ children, className, }: { children: Element; className: string; }) => Element | null>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type '{ children: Element; className: string; }'.
|
|
Property 'className' is missing in type '{ children?: ReactNode; }' but required in type '{ children: Element; className: string; }'." source="TS2322" />
|
|
<error line="41" column="2" severity="error" message="Type 'LazyExoticComponent<({ children, className, }: { children: Element; className: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ children, className, }: { children: Element; className: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ children, className, }: { children: Element; className: string; }) => Element>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type '{ children: Element; className: string; }'.
|
|
Property 'className' is missing in type '{ children?: ReactNode; }' but required in type '{ children: Element; className: string; }'." source="TS2322" />
|
|
<error line="52" column="2" severity="error" message="Type 'LazyExoticComponent<({ className }: { className: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ className }: { className: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ className }: { className: string; }) => Element>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type '{ className: string; }'.
|
|
Property 'className' is missing in type '{ children?: ReactNode; }' but required in type '{ className: string; }'." source="TS2322" />
|
|
<error line="63" column="2" severity="error" message="Type 'LazyExoticComponent<({ children, className, }: Props) => Element | null>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ children, className, }: Props) => Element | null>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ children, className, }: Props) => Element | null>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type 'Props'.
|
|
Type '{ children?: ReactNode; }' is not assignable to type 'Props' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
|
Types of property 'children' are incompatible.
|
|
Type 'ReactNode' is not assignable to type 'Element | Element[]'.
|
|
Type 'undefined' is not assignable to type 'Element | Element[]'." source="TS2322" />
|
|
<error line="74" column="2" severity="error" message="Type 'LazyExoticComponent<({ className, columns }: BlockProps) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ className, columns }: BlockProps) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ className, columns }: BlockProps) => Element>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type 'BlockProps'.
|
|
Property 'columns' is missing in type '{ children?: ReactNode; }' but required in type 'BlockProps'." source="TS2322" />
|
|
<error line="85" column="2" severity="error" message="Type 'LazyExoticComponent<({ children, className, }: { children: Element | Element[]; className?: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ children, className, }: { children: Element | Element[]; className?: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ children, className, }: { children: Element | Element[]; className?: string; }) => Element>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type '{ children: Element | Element[]; className?: string; }'.
|
|
Type '{ children?: ReactNode; }' is not assignable to type '{ children: Element | Element[]; className?: string; }'.
|
|
Types of property 'children' are incompatible.
|
|
Type 'ReactNode' is not assignable to type 'Element | Element[]'." source="TS2322" />
|
|
<error line="96" column="2" severity="error" message="Type 'LazyExoticComponent<({ className }: { className: string; }) => Element | null>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ className }: { className: string; }) => Element | null>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ className }: { className: string; }) => Element | null>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type '{ className: string; }'.
|
|
Property 'className' is missing in type '{ children?: ReactNode; }' but required in type '{ className: string; }'." source="TS2322" />
|
|
<error line="118" column="2" severity="error" message="Type 'LazyExoticComponent<({ className }: { className: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ className }: { className: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ className }: { className: string; }) => Element>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type '{ className: string; }'.
|
|
Property 'className' is missing in type '{ children?: ReactNode; }' but required in type '{ className: string; }'." source="TS2322" />
|
|
<error line="129" column="2" severity="error" message="Type 'LazyExoticComponent<({ children, className, }: { children?: Element | Element[]; className?: string; }) => Element | null>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ children, className, }: { children?: Element | Element[]; className?: string; }) => Element | null>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ children, className, }: { children?: Element | Element[]; className?: string; }) => Element | null>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type '{ children?: Element | Element[]; className?: string; }'.
|
|
Type '{ children?: ReactNode; }' is not assignable to type '{ children?: Element | Element[]; className?: string; }' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
|
Types of property 'children' are incompatible.
|
|
Type 'ReactNode' is not assignable to type 'Element | Element[]'." source="TS2322" />
|
|
<error line="151" column="2" severity="error" message="Type 'LazyExoticComponent<({ className }: { className?: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ className }: { className?: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ className }: { className?: string; }) => Element>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type '{ className?: string; }'.
|
|
Type '{ children?: ReactNode; }' has no properties in common with type '{ className?: string; }'." source="TS2322" />
|
|
<error line="162" column="2" severity="error" message="Type 'LazyExoticComponent<({ className }: { className: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ className }: { className: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ className }: { className: string; }) => Element>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type '{ className: string; }'.
|
|
Property 'className' is missing in type '{ children?: ReactNode; }' but required in type '{ className: string; }'." source="TS2322" />
|
|
<error line="173" column="2" severity="error" message="Type 'LazyExoticComponent<({ className }: { className: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ className }: { className: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ className }: { className: string; }) => Element>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type '{ className: string; }'.
|
|
Property 'className' is missing in type '{ children?: ReactNode; }' but required in type '{ className: string; }'." source="TS2322" />
|
|
<error line="184" column="2" severity="error" message="Type 'LazyExoticComponent<({ className }: { className: string; }) => Element | null>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ className }: { className: string; }) => Element | null>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ className }: { className: string; }) => Element | null>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type '{ className: string; }'.
|
|
Property 'className' is missing in type '{ children?: ReactNode; }' but required in type '{ className: string; }'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart/frontend.js">
|
|
<error line="18" column="20" severity="error" message="Parameter 'el' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="27" column="21" severity="error" message="Binding element 'children' implicitly has an 'any' type." source="TS7031" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart/index.js">
|
|
<error line="51" column="14" severity="error" message="Binding element 'attributes' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="63" column="15" severity="error" message="Parameter 'attributes' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="63" column="27" severity="error" message="Parameter 'innerBlocks' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="103" column="18" severity="error" message="Parameter '_' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="103" column="21" severity="error" message="Parameter 'innerBlocks' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="105" column="8" severity="error" message="Parameter 'block' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="112" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<any>, settings?: Partial<BlockConfiguration<any>> | undefined): Block<any> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<any>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<any>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<any>): Block<any> | undefined', gave the following error.
|
|
Argument of type '{ title: string; icon: { src: Element; }; category: string; keywords: string[]; description: string; supports: { align: string[]; html: boolean; multiple: boolean; }; example: { attributes: { isPreview: boolean; }; }; attributes: { ...; }; edit: ({ className, attributes, setAttributes, clientId }: { ...; }) => Eleme...' is not assignable to parameter of type 'BlockConfiguration<any>'.
|
|
Type '{ title: string; icon: { src: Element; }; category: string; keywords: string[]; description: string; supports: { align: string[]; html: boolean; multiple: boolean; }; example: { attributes: { isPreview: boolean; }; }; attributes: { ...; }; edit: ({ className, attributes, setAttributes, clientId }: { ...; }) => Eleme...' is not assignable to type 'Partial<Omit<Block<any>, "icon">>'.
|
|
Types of property 'attributes' are incompatible.
|
|
Type '{ isPreview: { type: string; default: boolean; save: boolean; }; hasDarkControls: { type: string; default: any; }; isShippingCalculatorEnabled: { type: string; default: any; }; checkoutPageId: { type: string; default: number; }; showRateAfterTaxName: { ...; }; align: { ...; }; }' is not assignable to type '{ readonly [x: string]: BlockAttribute<any>; }'.
|
|
Property 'isPreview' is incompatible with index signature.
|
|
Type '{ type: string; default: boolean; save: boolean; }' is not assignable to type 'BlockAttribute<any>'.
|
|
Type '{ type: string; default: boolean; save: boolean; }' is missing the following properties from type 'Query<any>': source, selector, query" source="TS2769" />
|
|
</file>
|
|
<file name="node_modules/@jest/test-result/build/index.d.ts">
|
|
<error line="11" column="14" severity="error" message="Module '"jest-haste-map"' has no exported member 'IHasteFS'. Did you mean to use 'import IHasteFS from "jest-haste-map"' instead?" source="TS2614" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart/test/block.js">
|
|
<error line="49" column="5" severity="error" message="Property 'className' is missing in type '{ children: Element[]; }' but required in type '{ children: Element | Element[]; className: string; }'." source="TS2741" />
|
|
<error line="50" column="6" severity="error" message="Property 'className' is missing in type '{ children: Element; }' but required in type '{ children: Element; className: string; }'." source="TS2741" />
|
|
<error line="51" column="7" severity="error" message="Property 'className' is missing in type '{}' but required in type '{ className: string; }'." source="TS2741" />
|
|
<error line="66" column="7" severity="error" message="Property 'className' is missing in type '{}' but required in type '{ className: string; }'." source="TS2741" />
|
|
<error line="67" column="7" severity="error" message="Property 'className' is missing in type '{ checkoutPageId: number; }' but required in type '{ checkoutPageId: number; className: string; }'." source="TS2741" />
|
|
<error line="68" column="7" severity="error" message="Property 'className' is missing in type '{}' but required in type '{ className: string; }'." source="TS2741" />
|
|
<error line="71" column="5" severity="error" message="Property 'className' is missing in type '{ children: Element; }' but required in type '{ children: Element; className: string; }'." source="TS2741" />
|
|
<error line="88" column="25" severity="error" message="Property 'invalidateResolutionForStore' does not exist on type 'DispatchFromMap<typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/data/cart/actions")>'." source="TS2339" />
|
|
<error line="89" column="38" severity="error" message="Argument of type 'Cart' is not assignable to parameter of type 'CartResponse'.
|
|
Type 'Cart' is missing the following properties from type 'CartResponse': shipping_rates, shipping_address, billing_address, items_count, and 6 more." source="TS2345" />
|
|
<error line="103" column="5" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="115" column="40" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="122" column="48" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="129" column="45" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="140" column="46" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="151" column="5" severity="error" message="Type '{ showRateAfterTaxName: true; }' is missing the following properties from type '{ showRateAfterTaxName: boolean; isShippingCalculatorEnabled: boolean; checkoutPageId: number; }': isShippingCalculatorEnabled, checkoutPageId" source="TS2739" />
|
|
<error line="157" column="50" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="174" column="47" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="179" column="27" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(fn: MockResponseInitFunction): FetchMock', gave the following error.
|
|
Argument of type '(req: Request) => Promise<string> | undefined' is not assignable to parameter of type 'MockResponseInitFunction'.
|
|
Type 'Promise<string> | undefined' is not assignable to type 'Promise<string | MockResponseInit>'.
|
|
Type 'undefined' is not assignable to type 'Promise<string | MockResponseInit>'.
|
|
Overload 2 of 2, '(response: string, responseInit?: MockParams | undefined): FetchMock', gave the following error.
|
|
Argument of type '(req: Request) => Promise<string> | undefined' is not assignable to parameter of type 'string'." source="TS2769" />
|
|
<error line="206" column="48" severity="error" message="Property 'toHaveTextContent' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="227" column="25" severity="error" message="Property 'value' does not exist on type 'HTMLElement'." source="TS2339" />
|
|
<error line="233" column="25" severity="error" message="Property 'value' does not exist on type 'HTMLElement'." source="TS2339" />
|
|
<error line="244" column="4" severity="error" message="Type '<T>(value: T, extensions: Record<string, unknown>, { cartItem }: CheckoutFilterArguments | undefined) => boolean' is not assignable to type 'CheckoutFilterFunction'.
|
|
Type 'boolean' is not assignable to type 'T'.
|
|
'T' could be instantiated with an arbitrary type which could be unrelated to 'boolean'." source="TS2322" />
|
|
<error line="244" column="47" severity="error" message="Property 'cartItem' does not exist on type 'CheckoutFilterArguments | undefined'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart/test/slots.js">
|
|
<error line="11" column="32" severity="error" message="Could not find a declaration file for module '@wordpress/plugins'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@wordpress/plugins/build/index.js' implicitly has an 'any' type.
|
|
Try `npm i --save-dev @types/wordpress__plugins` if it exists or add a new declaration (.d.ts) file containing `declare module '@wordpress/plugins';`" source="TS7016" />
|
|
<error line="20" column="30" severity="error" message="Binding element 'cart' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="39" column="7" severity="error" message="Property 'cart' is missing in type '{}' but required in type '{ cart: any; }'." source="TS2741" />
|
|
<error line="54" column="25" severity="error" message="Property 'invalidateResolutionForStore' does not exist on type 'DispatchFromMap<typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/data/cart/actions")>'." source="TS2339" />
|
|
<error line="55" column="38" severity="error" message="Argument of type 'Cart' is not assignable to parameter of type 'CartResponse'." source="TS2345" />
|
|
<error line="64" column="27" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(fn: MockResponseInitFunction): FetchMock', gave the following error.
|
|
Argument of type '(req: Request) => Promise<string> | undefined' is not assignable to parameter of type 'MockResponseInitFunction'.
|
|
Type 'Promise<string> | undefined' is not assignable to type 'Promise<string | MockResponseInit>'.
|
|
Type 'undefined' is not assignable to type 'Promise<string | MockResponseInit>'.
|
|
Overload 2 of 2, '(response: string, responseInit?: MockParams | undefined): FetchMock', gave the following error.
|
|
Argument of type '(req: Request) => Promise<string> | undefined' is not assignable to parameter of type 'string'." source="TS2769" />
|
|
<error line="82" column="5" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/blocks/cart-checkout-shared/payment-methods/test/payment-methods.js">
|
|
<error line="22" column="57" severity="error" message="Binding element 'onChange' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="34" column="7" severity="error" message="Binding element 'onChange' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="50" column="8" severity="error" message="This condition will always return 'false' since the types '"core/editor"' and '"wc/store/payment"' have no overlap." source="TS2367" />
|
|
<error line="104" column="5" severity="error" message="Property 'invalidateResolutionForStore' does not exist on type 'DispatchFromMap<typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/data/cart/actions")>'." source="TS2339" />
|
|
<error line="107" column="18" severity="error" message="Argument of type 'Cart' is not assignable to parameter of type 'CartResponse'." source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/checkout-order-error/index.js">
|
|
<error line="80" column="46" severity="error" message="Property 'code' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="99" column="26" severity="error" message="Property 'message' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="101" column="46" severity="error" message="Property 'code' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="124" column="46" severity="error" message="Property 'code' does not exist on type 'Object'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/utils.ts">
|
|
<error line="15" column="68" severity="error" message="Expected 0 arguments, but got 1." source="TS2554" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/block.tsx">
|
|
<error line="98" column="4" severity="error" message="Type '{ allowCreateAccount: boolean; showCompanyField: boolean; requireCompanyField: boolean; showApartmentField: boolean; showPhoneField: boolean; requirePhoneField: boolean; }' is missing the following properties from type 'CheckoutBlockContextProps': showOrderNotes, showPolicyLinks, showReturnToCart, cartPageId, showRateAfterTaxName" source="TS2739" />
|
|
<error line="187" column="4" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(props: BlockErrorBoundaryProps | Readonly<BlockErrorBoundaryProps>): BlockErrorBoundary', gave the following error.
|
|
Type 'unknown' is not assignable to type 'boolean'.
|
|
Overload 2 of 2, '(props: BlockErrorBoundaryProps, context: any): BlockErrorBoundary', gave the following error.
|
|
Type 'unknown' is not assignable to type 'boolean'." source="TS2769" />
|
|
<error line="210" column="33" severity="error" message="Argument of type '({ attributes, children, scrollToTop, }: { attributes: Attributes; children: React.ReactChildren; scrollToTop: (props: Record<string, unknown>) => void; }) => JSX.Element' is not assignable to parameter of type 'FunctionComponent<Record<string, unknown>>'.
|
|
Types of parameters '__0' and 'props' are incompatible.
|
|
Type 'PropsWithChildren<Record<string, unknown>>' is missing the following properties from type '{ attributes: Attributes; children: ReactChildren; scrollToTop: (props: Record<string, unknown>) => void; }': attributes, scrollToTop" source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/inner-blocks/checkout-fields-block/index.tsx">
|
|
<error line="12" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ className?: string; }>, settings?: Partial<BlockConfiguration<{ className?: string; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ className?: string; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ className?: string; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ className?: string; }>): Block<{ className?: string; }> | undefined', gave the following error.
|
|
Argument of type '{ icon: { src: JSX.Element; }; edit: ({ clientId, attributes, }: { clientId: string; attributes: { className?: string; }; }) => JSX.Element; save: () => JSX.Element; }' is not assignable to parameter of type 'BlockConfiguration<{ className?: string; }>'.
|
|
Type '{ icon: { src: Element; }; edit: ({ clientId, attributes, }: { clientId: string; 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/checkout/inner-blocks/checkout-totals-block/index.tsx">
|
|
<error line="12" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ className?: string; }>, settings?: Partial<BlockConfiguration<{ className?: string; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ className?: string; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ className?: string; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ className?: string; }>): Block<{ className?: string; }> | undefined', gave the following error.
|
|
Argument of type '{ icon: { src: JSX.Element; }; edit: ({ clientId, attributes, }: { clientId: string; attributes: { className?: string; }; }) => JSX.Element; save: () => JSX.Element; }' is not assignable to parameter of type 'BlockConfiguration<{ className?: string; }>'.
|
|
Type '{ icon: { src: Element; }; edit: ({ clientId, attributes, }: { clientId: string; 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/checkout/form-step/additional-fields.tsx">
|
|
<error line="21" column="19" severity="error" message="Argument of type '{ clientId: string; registeredBlocks: string[]; }' is not assignable to parameter of type '{ clientId: string; registeredBlocks: string[]; defaultTemplate: TemplateArray; }'.
|
|
Property 'defaultTemplate' is missing in type '{ clientId: string; registeredBlocks: string[]; }' but required in type '{ clientId: string; registeredBlocks: string[]; defaultTemplate: TemplateArray; }'." source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/inner-blocks/checkout-shipping-address-block/index.tsx">
|
|
<error line="13" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ title: string; description: string; showStepNumber: boolean; className: string; }>, settings?: Partial<BlockConfiguration<{ title: string; description: string; showStepNumber: boolean; className: string; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ title: string; description: string; showStepNumber: boolean; className: string; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ title: string; description: string; showStepNumber: boolean; className: string; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ title: string; description: string; showStepNumber: boolean; className: string; }>): Block<{ title: string; description: string; showStepNumber: boolean; className: string; }> | undefined', gave the following error.
|
|
Type '{ className: { type: string; default: string; }; lock: { type: string; default: { move: boolean; remove: boolean; }; }; }' is missing the following properties from type '{ readonly title: BlockAttribute<string>; readonly description: BlockAttribute<string>; readonly showStepNumber: BlockAttribute<boolean>; readonly className: BlockAttribute<...>; }': title, description, showStepNumber" source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/inner-blocks/checkout-terms-block/edit.tsx">
|
|
<error line="62" column="8" severity="error" message="Property 'onChange' is missing in type '{ id: string; checked: false; }' but required in type 'CheckboxControlProps'." source="TS2741" />
|
|
<error line="89" column="6" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(props: Props, context?: any): ReactElement<any, any> | Component<Props, any, any> | null', gave the following error.
|
|
Type '{ className: string; label: Element; onClick: () => Window | null; }[]' is not assignable to type 'readonly Action[]'.
|
|
Type '{ className: string; label: JSX.Element; onClick: () => Window | null; }' is not assignable to type 'Action'.
|
|
Type '{ className: string; label: JSX.Element; onClick: () => Window | null; }' is not assignable to type 'ButtonAction'.
|
|
Types of property 'label' are incompatible.
|
|
Type 'Element' is not assignable to type 'string'.
|
|
Overload 2 of 2, '(props: PropsWithChildren<Props>, context?: any): ReactElement<any, any> | Component<Props, any, any> | null', gave the following error.
|
|
Type '{ className: string; label: Element; onClick: () => Window | null; }[]' is not assignable to type 'readonly Action[]'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/inner-blocks/checkout-terms-block/index.tsx">
|
|
<error line="11" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ text: string; checkbox: boolean; }>, settings?: Partial<BlockConfiguration<{ text: string; checkbox: boolean; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ text: string; checkbox: boolean; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ text: string; checkbox: boolean; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ text: string; checkbox: boolean; }>): Block<{ text: string; checkbox: boolean; }> | undefined', gave the following error.
|
|
Argument of type '{ icon: { src: JSX.Element; }; edit: ({ attributes: { checkbox, text }, setAttributes, }: { attributes: { text: string; checkbox: boolean; }; setAttributes: (attributes: Record<string, unknown>) => void; }) => JSX.Element; save: () => JSX.Element; }' is not assignable to parameter of type 'BlockConfiguration<{ text: string; checkbox: boolean; }>'.
|
|
Type '{ icon: { src: Element; }; edit: ({ attributes: { checkbox, text }, setAttributes, }: { attributes: { text: string; checkbox: boolean; }; setAttributes: (attributes: Record<string, unknown>) => void; }) => Element; save: () => Element; }' is missing the following properties from type 'Pick<Block<{ text: string; checkbox: boolean; }>, "title" | "category" | "attributes">': title, category, attributes" source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/inner-blocks/checkout-contact-information-block/index.tsx">
|
|
<error line="13" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ title: string; description: string; showStepNumber: boolean; className: string; }>, settings?: Partial<BlockConfiguration<{ title: string; description: string; showStepNumber: boolean; className: string; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ title: string; description: string; showStepNumber: boolean; className: string; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ title: string; description: string; showStepNumber: boolean; className: string; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ title: string; description: string; showStepNumber: boolean; className: string; }>): Block<{ title: string; description: string; showStepNumber: boolean; className: string; }> | undefined', gave the following error.
|
|
Type '{ className: { type: string; default: string; }; lock: { type: string; default: { remove: boolean; move: boolean; }; }; }' is missing the following properties from type '{ readonly title: BlockAttribute<string>; readonly description: BlockAttribute<string>; readonly showStepNumber: BlockAttribute<boolean>; readonly className: BlockAttribute<...>; }': title, description, showStepNumber" source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/inner-blocks/checkout-billing-address-block/index.tsx">
|
|
<error line="13" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ title: string; description: string; showStepNumber: boolean; className: string; }>, settings?: Partial<BlockConfiguration<{ title: string; description: string; showStepNumber: boolean; className: string; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ title: string; description: string; showStepNumber: boolean; className: string; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ title: string; description: string; showStepNumber: boolean; className: string; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ title: string; description: string; showStepNumber: boolean; className: string; }>): Block<{ title: string; description: string; showStepNumber: boolean; className: string; }> | undefined', gave the following error.
|
|
Type '{ className: { type: string; default: string; }; lock: { type: string; default: { move: boolean; remove: boolean; }; }; }' is missing the following properties from type '{ readonly title: BlockAttribute<string>; readonly description: BlockAttribute<string>; readonly showStepNumber: BlockAttribute<boolean>; readonly className: BlockAttribute<...>; }': title, description, showStepNumber" source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/inner-blocks/checkout-actions-block/block.tsx">
|
|
<error line="30" column="6" severity="error" message="Type '{ link: string | undefined; }' is not assignable to type 'ReturnToCartButtonProps' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
|
Types of property 'link' are incompatible.
|
|
Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'." source="TS2375" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/inner-blocks/checkout-actions-block/index.tsx">
|
|
<error line="13" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ showReturnToCart: boolean; cartPageId: number; }>, settings?: Partial<BlockConfiguration<{ showReturnToCart: boolean; cartPageId: number; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ showReturnToCart: boolean; cartPageId: number; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ showReturnToCart: boolean; cartPageId: number; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ showReturnToCart: boolean; cartPageId: number; }>): Block<{ showReturnToCart: boolean; cartPageId: number; }> | undefined', gave the following error.
|
|
Type '{ cartPageId: { type: string; default: number; }; showReturnToCart: { type: string; default: boolean; }; className: { type: string; default: string; }; lock: { type: string; default: { move: boolean; remove: boolean; }; }; }' is not assignable to type '{ readonly showReturnToCart: BlockAttribute<boolean>; readonly cartPageId: BlockAttribute<number>; }'.
|
|
Types of property 'showReturnToCart' are incompatible.
|
|
Type '{ type: string; default: boolean; }' is not assignable to type 'BlockAttribute<boolean>'.
|
|
Type '{ type: string; default: boolean; }' is missing the following properties from type 'Query<boolean>': source, selector, query" source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/inner-blocks/checkout-order-note-block/index.tsx">
|
|
<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 '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 '{ 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/checkout/inner-blocks/checkout-order-summary-block/index.tsx">
|
|
<error line="14" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ className: unknown; lock: unknown; }>, settings?: Partial<BlockConfiguration<{ className: unknown; lock: unknown; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ className: unknown; lock: unknown; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ className: unknown; lock: unknown; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ className: unknown; lock: unknown; }>): Block<{ className: unknown; lock: unknown; }> | undefined', gave the following error.
|
|
Type '{ className: { type: string; default: string; }; lock: { type: string; default: { move: boolean; remove: boolean; }; }; }' is not assignable to type '{ readonly className: BlockAttribute<unknown>; readonly lock: BlockAttribute<unknown>; }'.
|
|
Types of property 'className' are incompatible.
|
|
Type '{ type: string; default: string; }' is not assignable to type 'BlockAttribute<unknown>'.
|
|
Type '{ type: string; default: string; }' is missing the following properties from type 'Query<unknown>': source, selector, query" source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/inner-blocks/checkout-payment-block/index.tsx">
|
|
<error line="13" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ title: string; description: string; showStepNumber: boolean; className: string; }>, settings?: Partial<BlockConfiguration<{ title: string; description: string; showStepNumber: boolean; className: string; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ title: string; description: string; showStepNumber: boolean; className: string; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ title: string; description: string; showStepNumber: boolean; className: string; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ title: string; description: string; showStepNumber: boolean; className: string; }>): Block<{ title: string; description: string; showStepNumber: boolean; className: string; }> | undefined', gave the following error.
|
|
Type '{ className: { type: string; default: string; }; lock: { type: string; default: { move: boolean; remove: boolean; }; }; }' is missing the following properties from type '{ readonly title: BlockAttribute<string>; readonly description: BlockAttribute<string>; readonly showStepNumber: BlockAttribute<boolean>; readonly className: BlockAttribute<...>; }': title, description, showStepNumber" source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/inner-blocks/checkout-express-payment-block/edit.tsx">
|
|
<error line="6" column="37" severity="error" message="Could not find a declaration file for module 'wordpress-components'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/wordpress-components/build/index.js' implicitly has an 'any' type.
|
|
If the '@wordpress/components' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__components'" source="TS7016" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/inner-blocks/checkout-express-payment-block/index.tsx">
|
|
<error line="12" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ className?: string; lock: { move: boolean; remove: boolean; }; }>, settings?: Partial<BlockConfiguration<{ className?: string; lock: { move: boolean; remove: boolean; }; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ className?: string; lock: { move: boolean; remove: boolean; }; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ className?: string; lock: { move: boolean; remove: boolean; }; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ className?: string; lock: { move: boolean; remove: boolean; }; }>): Block<{ className?: string; lock: { move: boolean; remove: boolean; }; }> | undefined', gave the following error.
|
|
Argument of type '{ icon: { src: JSX.Element; }; edit: ({ attributes, }: { attributes: { className?: string; lock: { move: boolean; remove: boolean; }; }; }) => JSX.Element | null; save: () => JSX.Element; }' is not assignable to parameter of type 'BlockConfiguration<{ className?: string; lock: { move: boolean; remove: boolean; }; }>'.
|
|
Type '{ icon: { src: Element; }; edit: ({ attributes, }: { attributes: { className?: string; lock: { move: boolean; remove: boolean; }; }; }) => Element | null; save: () => Element; }' is missing the following properties from type 'Pick<Block<{ className?: string; lock: { move: boolean; remove: boolean; }; }>, "title" | "category" | "attributes">': title, category, attributes" source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/inner-blocks/checkout-shipping-methods-block/no-shipping-placeholder/index.js">
|
|
<error line="5" column="37" severity="error" message="Could not find a declaration file for module 'wordpress-components'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/wordpress-components/build/index.js' implicitly has an 'any' type.
|
|
If the '@wordpress/components' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__components'" source="TS7016" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/inner-blocks/checkout-shipping-methods-block/block.tsx">
|
|
<error line="12" column="24" severity="error" message="Could not find a declaration file for module 'wordpress-components'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/wordpress-components/build/index.js' implicitly has an 'any' type.
|
|
If the '@wordpress/components' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__components'" source="TS7016" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/inner-blocks/checkout-shipping-methods-block/index.tsx">
|
|
<error line="13" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ title: string; description: string; showStepNumber: boolean; allowCreateAccount: boolean; className: string; }>, settings?: Partial<BlockConfiguration<{ title: string; description: string; showStepNumber: boolean; allowCreateAccount: boolean; className: string; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ title: string; description: string; showStepNumber: boolean; allowCreateAccount: boolean; className: string; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ title: string; description: string; showStepNumber: boolean; allowCreateAccount: boolean; className: string; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ title: string; description: string; showStepNumber: boolean; allowCreateAccount: boolean; className: string; }>): Block<...> | undefined', gave the following error.
|
|
Type '{ allowCreateAccount: { type: string; default: boolean; }; className: { type: string; default: string; }; lock: { type: string; default: { move: boolean; remove: boolean; }; }; }' is missing the following properties from type '{ readonly title: BlockAttribute<string>; readonly description: BlockAttribute<string>; readonly showStepNumber: BlockAttribute<boolean>; readonly allowCreateAccount: BlockAttribute<...>; readonly className: BlockAttribute<...>; }': title, description, showStepNumber" source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/inner-blocks/checkout-order-summary-subtotal/index.tsx">
|
|
<error line="13" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ className: string; }>, settings?: Partial<BlockConfiguration<{ className: string; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ className: string; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ className: string; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ className: string; }>): Block<{ className: string; }> | undefined', gave the following error.
|
|
Argument of type '{ icon: { src: JSX.Element; }; edit: ({ attributes, }: { attributes: { className: string; }; setAttributes: (attributes: Record<string, unknown>) => void; }) => JSX.Element; save: () => JSX.Element; }' is not assignable to parameter of type 'BlockConfiguration<{ className: string; }>'.
|
|
Type '{ icon: { src: Element; }; edit: ({ attributes, }: { attributes: { className: string; }; setAttributes: (attributes: Record<string, unknown>) => void; }) => 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/checkout/inner-blocks/checkout-order-summary-fee/index.tsx">
|
|
<error line="13" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ className: string; }>, settings?: Partial<BlockConfiguration<{ className: string; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ className: string; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ className: string; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ className: string; }>): Block<{ className: string; }> | undefined', gave the following error.
|
|
Argument of type '{ icon: { src: JSX.Element; }; edit: ({ attributes, }: { attributes: { className: string; }; setAttributes: (attributes: Record<string, unknown>) => void; }) => JSX.Element; save: () => JSX.Element; }' is not assignable to parameter of type 'BlockConfiguration<{ className: string; }>'.
|
|
Type '{ icon: { src: Element; }; edit: ({ attributes, }: { attributes: { className: string; }; setAttributes: (attributes: Record<string, unknown>) => void; }) => 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/checkout/inner-blocks/checkout-order-summary-discount/index.tsx">
|
|
<error line="13" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ className: string; }>, settings?: Partial<BlockConfiguration<{ className: string; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ className: string; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ className: string; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ className: string; }>): Block<{ className: string; }> | undefined', gave the following error.
|
|
Argument of type '{ icon: { src: JSX.Element; }; edit: ({ attributes, }: { attributes: { className: string; }; setAttributes: (attributes: Record<string, unknown>) => void; }) => JSX.Element; save: () => JSX.Element; }' is not assignable to parameter of type 'BlockConfiguration<{ className: string; }>'.
|
|
Type '{ icon: { src: Element; }; edit: ({ attributes, }: { attributes: { className: string; }; setAttributes: (attributes: Record<string, unknown>) => void; }) => 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/checkout/inner-blocks/checkout-order-summary-shipping/index.tsx">
|
|
<error line="13" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ className: string; }>, settings?: Partial<BlockConfiguration<{ className: string; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ className: string; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ className: string; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ className: string; }>): Block<{ className: string; }> | undefined', gave the following error.
|
|
Argument of type '{ icon: { src: JSX.Element; }; edit: ({ attributes, }: { attributes: { className: string; }; }) => JSX.Element; save: () => JSX.Element; }' is not assignable to parameter of type 'BlockConfiguration<{ className: string; }>'.
|
|
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/checkout/inner-blocks/checkout-order-summary-coupon-form/index.tsx">
|
|
<error line="12" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ className: string; }>, settings?: Partial<BlockConfiguration<{ className: string; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ className: string; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ className: string; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ className: string; }>): Block<{ className: string; }> | undefined', gave the following error.
|
|
Argument of type '{ icon: { src: JSX.Element; }; edit: ({ attributes, }: { attributes: { className: string; }; setAttributes: (attributes: Record<string, unknown>) => void; }) => JSX.Element; save: () => JSX.Element; }' is not assignable to parameter of type 'BlockConfiguration<{ className: string; }>'.
|
|
Type '{ icon: { src: Element; }; edit: ({ attributes, }: { attributes: { className: string; }; setAttributes: (attributes: Record<string, unknown>) => void; }) => 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/checkout/inner-blocks/checkout-order-summary-taxes/index.tsx">
|
|
<error line="14" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ className: string; showRateAfterTaxName: boolean; }>, settings?: Partial<BlockConfiguration<{ className: string; showRateAfterTaxName: boolean; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ className: string; showRateAfterTaxName: boolean; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ className: string; showRateAfterTaxName: boolean; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ className: string; showRateAfterTaxName: boolean; }>): Block<{ className: string; showRateAfterTaxName: boolean; }> | undefined', gave the following error.
|
|
Property 'className' is missing in type '{ showRateAfterTaxName: { type: string; default: unknown; }; lock: { type: string; default: { remove: boolean; move: boolean; }; }; }' but required in type '{ readonly className: BlockAttribute<string>; readonly showRateAfterTaxName: BlockAttribute<boolean>; }'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/inner-blocks/checkout-order-summary-cart-items/index.tsx">
|
|
<error line="13" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ className: string; }>, settings?: Partial<BlockConfiguration<{ className: string; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ className: string; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ className: string; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ className: string; }>): Block<{ className: string; }> | undefined', gave the following error.
|
|
Argument of type '{ icon: { src: JSX.Element; }; edit: ({ attributes, }: { attributes: { className: string; }; setAttributes: (attributes: Record<string, unknown>) => void; }) => JSX.Element; save: () => JSX.Element; }' is not assignable to parameter of type 'BlockConfiguration<{ className: string; }>'.
|
|
Type '{ icon: { src: Element; }; edit: ({ attributes, }: { attributes: { className: string; }; setAttributes: (attributes: Record<string, unknown>) => void; }) => 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/checkout/inner-blocks/checkout-fields-block/frontend.tsx">
|
|
<error line="20" column="4" severity="error" message="Type '{ children: Element; className: string; }' is not assignable to type 'IntrinsicAttributes & RefAttributes<any>'.
|
|
Property 'children' does not exist on type 'IntrinsicAttributes & RefAttributes<any>'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/inner-blocks/checkout-terms-block/frontend.tsx">
|
|
<error line="93" column="7" severity="error" message="Type 'Element' is not assignable to type 'ReactChildren'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/inner-blocks/checkout-totals-block/frontend.tsx">
|
|
<error line="20" column="4" severity="error" message="Type '{ children: Element; className: string; }' is not assignable to type 'IntrinsicAttributes & RefAttributes<any>'.
|
|
Property 'children' does not exist on type 'IntrinsicAttributes & RefAttributes<any>'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/inner-blocks/register-components.ts">
|
|
<error line="20" column="2" severity="error" message="Type 'LazyExoticComponent<({ children, className, }: { children: Element; className?: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ children, className, }: { children: Element; className?: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ children, className, }: { children: Element; className?: string; }) => Element>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type '{ children: Element; className?: string; }'.
|
|
Type '{ children?: ReactNode; }' is not assignable to type '{ children: Element; className?: string; }'.
|
|
Types of property 'children' are incompatible.
|
|
Type 'ReactNode' is not assignable to type 'Element'.
|
|
Type 'undefined' is not assignable to type 'Element'." source="TS2322" />
|
|
<error line="30" column="2" severity="error" message="Type 'LazyExoticComponent<({ className }: { className?: string; }) => Element | null>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ className }: { className?: string; }) => Element | null>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ className }: { className?: string; }) => Element | null>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type '{ className?: string; }'.
|
|
Type '{ children?: ReactNode; }' has no properties in common with type '{ className?: string; }'." source="TS2322" />
|
|
<error line="90" column="2" severity="error" message="Type 'LazyExoticComponent<({ className }: { className?: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ className }: { className?: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ className }: { className?: string; }) => Element>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type '{ className?: string; }'.
|
|
Type '{ children?: ReactNode; }' has no properties in common with type '{ className?: string; }'." source="TS2322" />
|
|
<error line="100" column="2" severity="error" message="Type 'LazyExoticComponent<ComponentType<Omit<{ text: string; checkbox: boolean; instanceId: string; className?: string; }, "instanceId">>>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<ComponentType<Omit<{ text: string; checkbox: boolean; instanceId: string; className?: string; }, "instanceId">>>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<ComponentType<Omit<{ text: string; checkbox: boolean; instanceId: string; className?: string; }, "instanceId">>>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type '(Omit<{ text: string; checkbox: boolean; instanceId: string; className?: string; }, "instanceId"> & RefAttributes<Component<Omit<{ text: string; checkbox: boolean; instanceId: string; className?: string; }, "instanceId">, any, any>>) | (Omit<...> & { ...; })'.
|
|
Type '{ children?: ReactNode; }' is not assignable to type '(Omit<{ text: string; checkbox: boolean; instanceId: string; className?: string; }, "instanceId"> & RefAttributes<Component<Omit<{ text: string; checkbox: boolean; instanceId: string; className?: string; }, "instanceId">, any, any>>) | (Omit<...> & { ...; })'.
|
|
Type '{ children?: ReactNode; }' is not assignable to type 'Omit<{ text: string; checkbox: boolean; instanceId: string; className?: string; }, "instanceId"> & { children?: ReactNode; }'.
|
|
Type '{ children?: ReactNode; }' is missing the following properties from type 'Omit<{ text: string; checkbox: boolean; instanceId: string; className?: string; }, "instanceId">': checkbox, text" source="TS2322" />
|
|
<error line="120" column="2" severity="error" message="Type 'LazyExoticComponent<({ children, className, }: { children: Element; className?: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ children, className, }: { children: Element; className?: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ children, className, }: { children: Element; className?: string; }) => Element>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type '{ children: Element; className?: string; }'.
|
|
Type '{ children?: ReactNode; }' is not assignable to type '{ children: Element; className?: string; }'.
|
|
Types of property 'children' are incompatible.
|
|
Type 'ReactNode' is not assignable to type 'Element'." source="TS2322" />
|
|
<error line="130" column="2" severity="error" message="Type 'LazyExoticComponent<({ children, className, }: { children: Element | Element[]; className?: string; }) => Element | null>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ children, className, }: { children: Element | Element[]; className?: string; }) => Element | null>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ children, className, }: { children: Element | Element[]; className?: string; }) => Element | null>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type '{ children: Element | Element[]; className?: string; }'.
|
|
Type '{ children?: ReactNode; }' is not assignable to type '{ children: Element | Element[]; className?: string; }'.
|
|
Types of property 'children' are incompatible.
|
|
Type 'ReactNode' is not assignable to type 'Element | Element[]'." source="TS2322" />
|
|
<error line="140" column="2" severity="error" message="Type 'LazyExoticComponent<({ className }: { className: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ className }: { className: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ className }: { className: string; }) => Element>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type '{ className: string; }'.
|
|
Property 'className' is missing in type '{ children?: ReactNode; }' but required in type '{ className: string; }'." source="TS2322" />
|
|
<error line="151" column="2" severity="error" message="Type 'LazyExoticComponent<({ className }: { className?: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ className }: { className?: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ className }: { className?: string; }) => Element>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type '{ className?: string; }'.
|
|
Type '{ children?: ReactNode; }' has no properties in common with type '{ className?: string; }'." source="TS2322" />
|
|
<error line="162" column="2" severity="error" message="Type 'LazyExoticComponent<({ className }: { className?: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ className }: { className?: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ className }: { className?: string; }) => Element>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type '{ className?: string; }'.
|
|
Type '{ children?: ReactNode; }' has no properties in common with type '{ className?: string; }'." source="TS2322" />
|
|
<error line="173" column="2" severity="error" message="Type 'LazyExoticComponent<({ className }: { className?: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ className }: { className?: string; }) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ className }: { className?: string; }) => Element>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type '{ className?: string; }'.
|
|
Type '{ children?: ReactNode; }' has no properties in common with type '{ className?: string; }'." source="TS2322" />
|
|
<error line="184" column="2" severity="error" message="Type 'LazyExoticComponent<({ className, }: { className?: string; }) => Element | null>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ className, }: { className?: string; }) => Element | null>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ className, }: { className?: string; }) => Element | null>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type '{ className?: string; }'.
|
|
Type '{ children?: ReactNode; }' has no properties in common with type '{ className?: string; }'." source="TS2322" />
|
|
<error line="195" column="2" severity="error" message="Type 'LazyExoticComponent<({ className, }: { className?: string; }) => Element | null>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ className, }: { className?: string; }) => Element | null>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ className, }: { className?: string; }) => Element | null>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type '{ className?: string; }'.
|
|
Type '{ children?: ReactNode; }' has no properties in common with type '{ className?: string; }'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/frontend.tsx">
|
|
<error line="65" column="2" severity="error" message="Type '({ children, }: { children: React.ReactChildren; }) => React.ReactNode' is not assignable to type 'ElementType<any>'.
|
|
Type '({ children, }: { children: React.ReactChildren; }) => React.ReactNode' is not assignable to type 'FunctionComponent<any>'.
|
|
Type 'ReactNode' is not assignable to type 'ReactElement<any, any> | null'.
|
|
Type 'undefined' is not assignable to type 'ReactElement<any, any> | null'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/index.tsx">
|
|
<error line="142" column="20" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<BlockInstance<Record<string, any>>[] | { showOrderNotes: boolean; showPolicyLinks: boolean; showReturnToCart: boolean; cartPageId: number; }>, settings?: Partial<...> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type '{ name: string; version: string; title: string; description: string; category: string; keywords: string[]; supports: { align: string[]; html: boolean; multiple: boolean; }; attributes: { isPreview: { type: string; default: boolean; save: boolean; }; ... 5 more ...; requirePhoneField: { ...; }; }; textdomain: string;...' is not assignable to parameter of type 'BlockConfiguration<BlockInstance<Record<string, any>>[] | { showOrderNotes: boolean; showPolicyLinks: boolean; showReturnToCart: boolean; cartPageId: number; }>'.
|
|
Type '{ name: string; version: string; title: string; description: string; category: string; keywords: string[]; supports: { align: string[]; html: boolean; multiple: boolean; }; attributes: { isPreview: { type: string; default: boolean; save: boolean; }; ... 5 more ...; requirePhoneField: { ...; }; }; textdomain: string;...' is not assignable to type 'Partial<Omit<Block<BlockInstance<Record<string, any>>[] | { showOrderNotes: boolean; showPolicyLinks: boolean; showReturnToCart: boolean; cartPageId: number; }>, "icon">>'.
|
|
Types of property 'attributes' are incompatible.
|
|
Type '{ isPreview: { type: string; default: boolean; save: boolean; }; showCompanyField: { type: string; default: boolean; }; requireCompanyField: { type: string; default: boolean; }; allowCreateAccount: { ...; }; showApartmentField: { ...; }; showPhoneField: { ...; }; requirePhoneField: { ...; }; }' is not assignable to type 'readonly BlockAttribute<BlockInstance<Record<string, any>>>[] | { readonly showOrderNotes: BlockAttribute<boolean>; readonly showPolicyLinks: BlockAttribute<...>; readonly showReturnToCart: BlockAttribute<...>; readonly cartPageId: BlockAttribute<...>; }'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<BlockInstance<Record<string, any>>[] | { showOrderNotes: boolean; showPolicyLinks: boolean; showReturnToCart: boolean; cartPageId: number; }>): Block<...> | undefined', gave the following error.
|
|
Argument of type '{ name: string; version: string; title: string; description: string; category: string; keywords: string[]; supports: { align: string[]; html: boolean; multiple: boolean; }; attributes: { isPreview: { type: string; default: boolean; save: boolean; }; ... 5 more ...; requirePhoneField: { ...; }; }; textdomain: string;...' is not assignable to parameter of type 'string'." source="TS2769" />
|
|
</file>
|
|
<file name="tests/utils/find-by-text.ts">
|
|
<error line="12" column="21" severity="error" message="Parameter '_node' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/inner-blocks/checkout-order-summary-block/test/block.js">
|
|
<error line="13" column="8" severity="error" message="File '/home/runner/work/woocommerce-blocks/woocommerce-blocks/tests/utils/find-by-text.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" />
|
|
<error line="27" column="4" severity="error" message="Property 'className' is missing in type '{}' but required in type '{ className: string; }'." source="TS2741" />
|
|
<error line="198" column="39" severity="error" message="Parameter 'implementation' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="202" column="41" severity="error" message="Parameter 'value' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="215" column="5" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="218" column="5" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="223" column="5" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="226" column="5" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="237" column="5" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="246" column="5" severity="error" message="Type 'number' is not assignable to type 'string'." source="TS2322" />
|
|
<error line="247" column="5" severity="error" message="Type 'number' is not assignable to type 'string'." source="TS2322" />
|
|
<error line="256" column="5" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="264" column="5" severity="error" message="Type 'number' is not assignable to type 'string'." source="TS2322" />
|
|
<error line="265" column="5" severity="error" message="Type 'number' is not assignable to type 'string'." source="TS2322" />
|
|
<error line="282" column="6" severity="error" message="Type '{ code: string; discount_type: string; totals: { total_discount: string; total_discount_tax: string; currency_code: "USD"; currency_symbol: string; currency_minor_unit: number; currency_decimal_separator: string; currency_thousand_separator: string; currency_prefix: string; currency_suffix: string; }; label: string; }' is not assignable to type 'CartResponseCouponItem'.
|
|
Object literal may only specify known properties, and 'label' does not exist in type 'CartResponseCouponItem'." source="TS2322" />
|
|
<error line="289" column="5" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="305" column="7" severity="error" message="Type 'number' is not assignable to type 'string'." source="TS2322" />
|
|
<error line="317" column="5" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="325" column="5" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="330" column="34" severity="error" message="Parameter 'setting' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="330" column="43" severity="error" message="Rest parameter 'rest' implicitly has an 'any[]' type." source="TS7019" />
|
|
<error line="342" column="9" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'Matchers<void, HTMLElement | null>'." source="TS2339" />
|
|
<error line="352" column="54" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'Matchers<void, HTMLElement | null>'." source="TS2339" />
|
|
<error line="364" column="34" severity="error" message="Parameter 'setting' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="364" column="43" severity="error" message="Rest parameter 'rest' implicitly has an 'any[]' type." source="TS7019" />
|
|
<error line="380" column="9" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'Matchers<void, HTMLElement | null>'." source="TS2339" />
|
|
<error line="393" column="34" severity="error" message="Parameter 'setting' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="393" column="43" severity="error" message="Rest parameter 'rest' implicitly has an 'any[]' type." source="TS7019" />
|
|
<error line="411" column="5" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="428" column="5" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="501" column="5" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/inner-blocks/checkout-terms-block/test/edit.js">
|
|
<error line="53" column="5" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement | null>'." source="TS2339" />
|
|
<error line="57" column="5" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement | null>'." source="TS2339" />
|
|
<error line="64" column="5" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement | null>'." source="TS2339" />
|
|
<error line="85" column="5" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement | null>'." source="TS2339" />
|
|
<error line="106" column="9" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'Matchers<void, HTMLElement | null>'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/blocks/checkout/inner-blocks/checkout-terms-block/test/frontend.js">
|
|
<error line="43" column="22" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="59" column="26" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'Matchers<void, HTMLElement | null>'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/blocks/classic-template/index.tsx">
|
|
<error line="196" column="6" severity="error" message="Type '{ attributes: { template: string; align: string; }; setAttributes: (attrs: Partial<Attributes>) => void; clientId: string; }' is missing the following properties from type 'BlockEditProps<Attributes>': className, isSelected" source="TS2739" />
|
|
</file>
|
|
<file name="assets/js/blocks/classic-template/test/utils.ts">
|
|
<error line="15" column="2" severity="error" message="An object literal cannot have multiple properties with the same name." source="TS1117" />
|
|
</file>
|
|
<file name="assets/js/blocks/featured-items/block-controls.tsx">
|
|
<error line="9" column="2" severity="error" message="Module '"@wordpress/block-editor"' has no exported member 'MediaReplaceFlow'." source="TS2305" />
|
|
</file>
|
|
<file name="assets/js/blocks/featured-items/image-editor.tsx">
|
|
<error line="10" column="2" severity="error" message="Module '"@wordpress/block-editor"' has no exported member '__experimentalImageEditingProvider'." source="TS2305" />
|
|
<error line="11" column="2" severity="error" message="Module '"@wordpress/block-editor"' has no exported member '__experimentalImageEditor'." source="TS2305" />
|
|
</file>
|
|
<file name="assets/js/blocks/featured-items/with-featured-item.tsx">
|
|
<error line="8" column="10" severity="error" message="Module '"@wordpress/block-editor"' has no exported member '__experimentalGetSpacingClassesAndStyles'." source="TS2305" />
|
|
</file>
|
|
<file name="assets/js/blocks/featured-items/inspector-controls.tsx">
|
|
<error line="11" column="2" severity="error" message="Module '"@wordpress/block-editor"' has no exported member '__experimentalPanelColorGradientSettings'." source="TS2305" />
|
|
<error line="12" column="2" severity="error" message="Module '"@wordpress/block-editor"' has no exported member '__experimentalUseGradient'." source="TS2305" />
|
|
<error line="19" column="2" severity="error" message="Module '"@wordpress/components"' has no exported member '__experimentalToggleGroupControl'." source="TS2305" />
|
|
<error line="20" column="2" severity="error" message="Module '"@wordpress/components"' has no exported member '__experimentalToggleGroupControlOption'." source="TS2305" />
|
|
</file>
|
|
<file name="assets/js/blocks/featured-items/register.tsx">
|
|
<error line="74" column="43" severity="error" message="Property 'background' does not exist on type 'never'." source="TS2339" />
|
|
<error line="75" column="37" severity="error" message="Property 'text' does not exist on type 'never'." source="TS2339" />
|
|
<error line="78" column="33" severity="error" message="Property '__experimentalDuotone' does not exist on type 'never'." source="TS2339" />
|
|
<error line="115" column="2" 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 '{ style?: string; script?: string; title?: string; name?: string; version?: string; description?: string | undefined; category?: string; edit: React.ComponentType<BlockEditProps<{}>> | ((props: {}) => JSX.Element) | undefined; ... 17 more ...; icon?: BlockIcon | undefined; }' is not assignable to parameter of type 'Partial<BlockConfiguration<{}>>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
|
Types of property 'supports' are incompatible.
|
|
Type 'BlockSupports | { __experimentalBorder?: { color: boolean; radius: boolean; width: boolean; __experimentalSkipSerialization?: boolean; }; color: { __experimentalDuotone?: any; background: any; text: any; }; ... 11 more ...; typography?: Partial<...> | undefined; } | undefined' is not assignable to type 'BlockSupports | undefined'.
|
|
Type '{ __experimentalBorder?: { color: boolean; radius: boolean; width: boolean; __experimentalSkipSerialization?: boolean; }; color: { __experimentalDuotone?: any; background: any; text: any; }; spacing: { ...; }; ... 10 more ...; typography?: Partial<...> | undefined; }' is not assignable to type 'BlockSupports'.
|
|
The types of 'spacing.padding' are incompatible between these types.
|
|
Type '((boolean | CSSDirection[] | undefined) & (boolean | CSSDirections[])) | undefined' is not assignable to type 'boolean | CSSDirection[]'.
|
|
Type 'undefined' is not assignable to type 'boolean | CSSDirection[]'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{}>): Block<{}> | undefined', gave the following error.
|
|
Argument of type 'Partial<Omit<Block<{}>, "icon">> & Pick<Block<{}>, "title" | "category" | "attributes"> & { icon?: BlockIcon | undefined; } & ExtendedBlockSupports' is not assignable to parameter of type 'string'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/editor-components/product-category-control/index.js">
|
|
<error line="45" column="23" severity="error" message="Parameter 'args' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="128" column="15" severity="error" message="Parameter 'n' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="146" column="24" severity="error" message="Type 'string' is not assignable to type 'ErrorObject'." source="TS2322" />
|
|
<error line="153" column="5" severity="error" message="Type 'string | undefined' is not assignable to type 'SearchListItemsType'.
|
|
Type 'undefined' is not assignable to type 'SearchListItemsType'." source="TS2322" />
|
|
<error line="157" column="7" severity="error" message="Object is possibly 'undefined'." source="TS2532" />
|
|
<error line="157" column="18" severity="error" message="Property 'find' does not exist on type 'string'." source="TS2339" />
|
|
<error line="157" column="26" severity="error" message="Parameter 'category' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="160" column="5" severity="error" message="Type 'Function' is not assignable to type '(search: SearchListItemsType) => void'.
|
|
Type 'Function' provides no match for the signature '(search: SearchListItemsType): void'." source="TS2322" />
|
|
<error line="163" column="5" severity="error" message="Type 'boolean | undefined' is not assignable to type 'boolean'.
|
|
Type 'undefined' is not assignable to type 'boolean'." source="TS2322" />
|
|
<error line="165" column="5" severity="error" message="Type 'boolean | undefined' is not assignable to type 'boolean'." source="TS2322" />
|
|
<error line="180" column="7" severity="error" message="Type 'Function' is not assignable to type '(value: string) => void'.
|
|
Type 'Function' provides no match for the signature '(value: string): void'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/featured-items/with-edit-mode.tsx">
|
|
<error line="78" column="22" severity="error" message="Type 'number | undefined' is not assignable to type 'number'.
|
|
Type 'undefined' is not assignable to type 'number'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/featured-items/featured-category/index.tsx">
|
|
<error line="17" column="27" severity="error" message="Argument of type '{ name: string; version: string; title: string; category: string; keywords: string[]; description: string; supports: { align: string[]; html: boolean; color: { background: boolean; text: boolean; }; spacing: { ...; }; __experimentalBorder: { ...; }; }; attributes: { ...; }; textdomain: string; apiVersion: number; $s...' is not assignable to parameter of type 'Partial<Omit<Block<{}>, "icon">> & Pick<Block<{}>, "title" | "category" | "attributes"> & { icon?: BlockIcon | undefined; } & ExtendedBlockSupports'.
|
|
Type '{ name: string; version: string; title: string; category: string; keywords: string[]; description: string; supports: { align: string[]; html: boolean; color: { background: boolean; text: boolean; }; spacing: { ...; }; __experimentalBorder: { ...; }; }; attributes: { ...; }; textdomain: string; apiVersion: number; $s...' is not assignable to type 'Partial<Omit<Block<{}>, "icon">>'.
|
|
The types of 'supports.align' are incompatible between these types.
|
|
Type 'string[]' is not assignable to type 'boolean | readonly BlockAlignment[] | undefined'.
|
|
Type 'string[]' is not assignable to type 'readonly BlockAlignment[]'." source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/blocks/featured-items/featured-product/index.tsx">
|
|
<error line="16" column="27" severity="error" message="Argument of type '{ name: string; version: string; title: string; description: string; category: string; keywords: string[]; supports: { align: string[]; html: boolean; color: { background: boolean; text: boolean; }; spacing: { ...; }; __experimentalBorder: { ...; }; multiple: boolean; }; attributes: { ...; }; textdomain: string; api...' is not assignable to parameter of type 'Partial<Omit<Block<{}>, "icon">> & Pick<Block<{}>, "title" | "category" | "attributes"> & { icon?: BlockIcon | undefined; } & ExtendedBlockSupports'.
|
|
Type '{ name: string; version: string; title: string; description: string; category: string; keywords: string[]; supports: { align: string[]; html: boolean; color: { background: boolean; text: boolean; }; spacing: { ...; }; __experimentalBorder: { ...; }; multiple: boolean; }; attributes: { ...; }; textdomain: string; api...' is not assignable to type 'Partial<Omit<Block<{}>, "icon">>'.
|
|
The types of 'supports.align' are incompatible between these types.
|
|
Type 'string[]' is not assignable to type 'boolean | readonly BlockAlignment[] | undefined'." source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/blocks/filter-wrapper/frontend.ts">
|
|
<error line="15" column="2" severity="error" message="Type '({ children }: Props) => JSX.Element' is not assignable to type 'FunctionComponent<{}>'.
|
|
Types of parameters '__0' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; }' is not assignable to type 'Props'.
|
|
Types of property 'children' are incompatible.
|
|
Type 'ReactNode' is not assignable to type 'Element[]'.
|
|
Type 'undefined' is not assignable to type 'Element[]'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/filter-wrapper/index.tsx">
|
|
<error line="8" column="25" severity="error" message="Module '"@wordpress/block-editor"' has no exported member 'useInnerBlocksProps'." source="TS2305" />
|
|
<error line="46" column="34" severity="error" message="Parameter 'instance' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="111" column="20" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<Attributes>, settings?: Partial<BlockConfiguration<Attributes>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type '{ name: string; version: string; title: string; category: string; keywords: string[]; attributes: { filterType: { type: string; }; heading: { type: string; }; }; textdomain: string; apiVersion: number; $schema: string; }' is not assignable to parameter of type 'BlockConfiguration<Attributes>'.
|
|
Type '{ name: string; version: string; title: string; category: string; keywords: string[]; attributes: { filterType: { type: string; }; heading: { type: string; }; }; textdomain: string; apiVersion: number; $schema: string; }' is not assignable to type 'Partial<Omit<Block<Attributes>, "icon">>'.
|
|
The types of 'attributes.heading' are incompatible between these types.
|
|
Type '{ type: string; }' is not assignable to type 'BlockAttribute<string>'.
|
|
Type '{ type: string; }' is missing the following properties from type 'Query<string>': source, selector, query
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<Attributes>): Block<Attributes> | undefined', gave the following error.
|
|
Argument of type '{ name: string; version: string; title: string; category: string; keywords: string[]; attributes: { filterType: { type: string; }; heading: { type: string; }; }; textdomain: string; apiVersion: number; $schema: string; }' is not assignable to parameter of type 'string'." source="TS2769" />
|
|
<error line="135" column="16" severity="error" message="Parameter 'attributes' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="159" column="16" severity="error" message="Parameter 'attributes' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="184" column="16" severity="error" message="Parameter 'attributes' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="209" column="16" severity="error" message="Parameter 'attributes' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="234" column="16" severity="error" message="Parameter 'attributes' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="259" column="18" severity="error" message="Property 'idBase' does not exist on type 'Attributes'." source="TS2339" />
|
|
<error line="259" column="26" severity="error" message="Property 'instance' does not exist on type 'Attributes'." source="TS2339" />
|
|
<error line="261" column="20" severity="error" message="Property 'idBase' does not exist on type 'Attributes'." source="TS2339" />
|
|
<error line="261" column="28" severity="error" message="Property 'instance' does not exist on type 'Attributes'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/blocks/handpicked-products/block.tsx">
|
|
<error line="4" 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" />
|
|
</file>
|
|
<file name="assets/js/editor-components/products-control/index.js">
|
|
<error line="18" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="19" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="45" column="15" severity="error" message="Parameter 'n' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="63" column="3" severity="error" message="Type 'Element' is missing the following properties from type 'Function': apply, call, bind, prototype, and 5 more." source="TS2740" />
|
|
<error line="63" column="24" severity="error" message="Type 'string' is not assignable to type 'ErrorObject'." source="TS2322" />
|
|
<error line="66" column="2" severity="error" message="Type 'Element' is not assignable to type 'Function'." source="TS2322" />
|
|
<error line="83" column="4" severity="error" message="Type 'Function' is not assignable to type '(search: string) => void'.
|
|
Type 'Function' provides no match for the signature '(search: string): void'." source="TS2322" />
|
|
<error line="84" column="4" severity="error" message="Type 'Function' is not assignable to type '(search: SearchListItemsType) => void'." source="TS2322" />
|
|
<error line="106" column="38" severity="error" message="Argument of type '{ ({ error, onChange, onSearch, selected, products, isLoading, isCompact, }: { error: string; onChange: Function; onSearch: Function; selected: any[]; products: any[]; isLoading: boolean; isCompact: boolean;}): Function; propTypes: { onChange: PropTypes.Validator<(...args: any[]) => any>; onSear...' is not assignable to parameter of type 'FunctionComponent<Record<string, unknown>>'.
|
|
Types of parameters '__0' and 'props' are incompatible.
|
|
Type 'PropsWithChildren<Record<string, unknown>>' is missing the following properties from type '{ error: string; onChange: Function; onSearch: Function; selected: any[]; products: any[]; isLoading: boolean; isCompact: boolean; }': error, onChange, onSearch, selected, and 3 more." source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/blocks/handpicked-products/edit-mode.tsx">
|
|
<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.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" />
|
|
<error line="16" column="32" severity="error" message="Property 'rating' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="16" column="40" severity="error" message="Property 'title' does not exist on type 'Object'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/blocks/handpicked-products/inspector-controls.tsx">
|
|
<error line="86" column="6" severity="error" message="Type '{ selected: number[]; onChange: (value?: never[]) => void; isCompact: boolean; }' 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/blocks/handpicked-products/index.tsx">
|
|
<error line="15" column="20" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ columns: unknown; align: unknown; contentVisibility: unknown; orderby: unknown; products: unknown; alignButtons: unknown; isPreview: unknown; }>, settings?: Partial<BlockConfiguration<{ columns: unknown; align: unknown; contentVisibility: unknown; orderby: unknown; products: unknown; alignButtons: unknown; isPreview: unknown; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type '{ name: string; title: string; category: string; keywords: string[]; description: string; supports: { align: string[]; html: boolean; }; attributes: { align: { type: string; }; columns: { type: string; default: number; }; ... 4 more ...; isPreview: { ...; }; }; textdomain: string; apiVersion: number; $schema: string...' is not assignable to parameter of type 'BlockConfiguration<{ columns: unknown; align: unknown; contentVisibility: unknown; orderby: unknown; products: unknown; alignButtons: unknown; isPreview: unknown; }>'.
|
|
Type '{ name: string; title: string; category: string; keywords: string[]; description: string; supports: { align: string[]; html: boolean; }; attributes: { align: { type: string; }; columns: { type: string; default: number; }; ... 4 more ...; isPreview: { ...; }; }; textdomain: string; apiVersion: number; $schema: string...' is not assignable to type 'Partial<Omit<Block<{ columns: unknown; align: unknown; contentVisibility: unknown; orderby: unknown; products: unknown; alignButtons: unknown; isPreview: unknown; }>, "icon">>'.
|
|
The types of 'attributes.columns' are incompatible between these types.
|
|
Type '{ type: string; default: number; }' is not assignable to type 'BlockAttribute<unknown>'.
|
|
Type '{ type: string; default: number; }' is missing the following properties from type 'Query<unknown>': source, selector, query
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ columns: unknown; align: unknown; contentVisibility: unknown; orderby: unknown; products: unknown; alignButtons: unknown; isPreview: unknown; }>): Block<{ columns: unknown; align: unknown; contentVisibility: unknown; orderby: unknown; products: unknown; alignButtons: unknown; isPreview: unknown; }> | undefined', gave the following error.
|
|
Argument of type '{ name: string; title: string; category: string; keywords: string[]; description: string; supports: { align: string[]; html: boolean; }; attributes: { align: { type: string; }; columns: { type: string; default: number; }; ... 4 more ...; isPreview: { ...; }; }; textdomain: string; apiVersion: number; $schema: string...' is not assignable to parameter of type 'string'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/mini-cart/mini-cart-contents/inner-blocks/mini-cart-footer-block/block.tsx">
|
|
<error line="23" column="40" severity="error" message="Argument of type 'EmptyObjectType | Record<string, PaymentMethodConfigInstance> | Record<string, ExpressPaymentMethodConfigInstance>' is not assignable to parameter of type 'PaymentMethods'." source="TS2345" />
|
|
<error line="56" column="7" severity="error" message="Type '{ children: string; className: string; href: never; variant: "outlined"; }' is not assignable to type 'IntrinsicAttributes & ButtonProps'.
|
|
Property 'href' does not exist on type 'IntrinsicAttributes & ButtonProps'." source="TS2322" />
|
|
<error line="65" column="7" severity="error" message="Type '{ children: string; className: string; href: never; }' is not assignable to type 'IntrinsicAttributes & ButtonProps'.
|
|
Property 'href' does not exist on type 'IntrinsicAttributes & ButtonProps'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/mini-cart/mini-cart-contents/inner-blocks/register-components.ts">
|
|
<error line="24" column="2" severity="error" message="Type 'LazyExoticComponent<({ children, className, }: FilledMiniCartContentsBlockProps) => Element | null>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ children, className, }: FilledMiniCartContentsBlockProps) => Element | null>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ children, className, }: FilledMiniCartContentsBlockProps) => Element | null>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type 'FilledMiniCartContentsBlockProps'.
|
|
Property 'className' is missing in type '{ children?: ReactNode; }' but required in type 'FilledMiniCartContentsBlockProps'." source="TS2322" />
|
|
<error line="34" column="2" severity="error" message="Type 'LazyExoticComponent<({ children, className, }: EmptyMiniCartContentsBlockProps) => Element | null>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ children, className, }: EmptyMiniCartContentsBlockProps) => Element | null>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ children, className, }: EmptyMiniCartContentsBlockProps) => Element | null>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type 'EmptyMiniCartContentsBlockProps'.
|
|
Property 'className' is missing in type '{ children?: ReactNode; }' but required in type 'EmptyMiniCartContentsBlockProps'." source="TS2322" />
|
|
<error line="44" column="2" severity="error" message="Type 'LazyExoticComponent<({ className }: MiniCartTitleBlockProps) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ className }: MiniCartTitleBlockProps) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ className }: MiniCartTitleBlockProps) => Element>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type 'MiniCartTitleBlockProps'.
|
|
Property 'className' is missing in type '{ children?: ReactNode; }' but required in type 'MiniCartTitleBlockProps'." source="TS2322" />
|
|
<error line="54" column="2" severity="error" message="Type 'LazyExoticComponent<({ children, className, }: MiniCartItemsBlockProps) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ children, className, }: MiniCartItemsBlockProps) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ children, className, }: MiniCartItemsBlockProps) => Element>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type 'MiniCartItemsBlockProps'.
|
|
Property 'className' is missing in type '{ children?: ReactNode; }' but required in type 'MiniCartItemsBlockProps'." source="TS2322" />
|
|
<error line="64" column="2" severity="error" message="Type 'LazyExoticComponent<({ className }: MiniCartContentsBlockProps) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ className }: MiniCartContentsBlockProps) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ className }: MiniCartContentsBlockProps) => Element>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type 'MiniCartContentsBlockProps'.
|
|
Property 'className' is missing in type '{ children?: ReactNode; }' but required in type 'MiniCartContentsBlockProps'." source="TS2322" />
|
|
<error line="74" column="2" severity="error" message="Type 'LazyExoticComponent<({ className }: Props) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ className }: Props) => Element>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ className }: Props) => Element>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type 'Props'.
|
|
Type '{ children?: ReactNode; }' has no properties in common with type 'Props'." source="TS2322" />
|
|
<error line="84" column="2" severity="error" message="Type 'LazyExoticComponent<({ className, }: MiniCartShoppingButtonBlockProps) => Element | null>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>> | (() => Element | null) | null'.
|
|
Type 'LazyExoticComponent<({ className, }: MiniCartShoppingButtonBlockProps) => Element | null>' is not assignable to type 'LazyExoticComponent<ComponentType<unknown>>'.
|
|
Type 'LazyExoticComponent<({ className, }: MiniCartShoppingButtonBlockProps) => Element | null>' is not assignable to type 'ExoticComponent<{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>>'.
|
|
Types of parameters 'props' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; } | RefAttributes<Component<unknown, any, any>>' is not assignable to type 'MiniCartShoppingButtonBlockProps'.
|
|
Property 'className' is missing in type '{ children?: ReactNode; }' but required in type 'MiniCartShoppingButtonBlockProps'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/mini-cart/block.tsx">
|
|
<error line="106" column="6" severity="error" message="Type '({ children, }: MiniCartContentsBlockProps) => JSX.Element' is not assignable to type 'FunctionComponent<{}>'.
|
|
Types of parameters '__0' and 'props' are incompatible.
|
|
Type '{ children?: ReactNode; }' is not assignable to type 'MiniCartContentsBlockProps'.
|
|
Types of property 'children' are incompatible.
|
|
Type 'ReactNode' is not assignable to type 'Element | Element[]'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/mini-cart/component-frontend.tsx">
|
|
<error line="30" column="3" severity="error" message="Type '(attributes: Props) => JSX.Element' is not assignable to type 'BlockType<Record<string, unknown>, Record<string, unknown>>'.
|
|
Types of parameters 'attributes' and 'props' are incompatible.
|
|
Type 'BlockProps<Record<string, unknown>, Record<string, unknown>>' is missing the following properties from type 'Props': contents, addToCartBehaviour, hasHiddenPrice" source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/mini-cart/index.tsx">
|
|
<error line="36" column="3" severity="error" message="Type 'true' has no properties in common with type 'Partial<ColorProps>'." source="TS2559" />
|
|
<error line="66" column="2" severity="error" message="Type '({ attributes, setAttributes }: Props) => ReactElement' is not assignable to type 'ComponentType<BlockEditProps<{}>> | undefined'.
|
|
Type '({ attributes, setAttributes }: Props) => ReactElement' is not assignable to type 'FunctionComponent<BlockEditProps<{}>>'.
|
|
Types of parameters '__0' and 'props' are incompatible.
|
|
Type 'PropsWithChildren<BlockEditProps<{}>>' is not assignable to type 'Props'.
|
|
Types of property 'attributes' are incompatible.
|
|
Type 'Readonly<{}>' is missing the following properties from type 'Attributes': addToCartBehaviour, hasHiddenPrice" source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/mini-cart/mini-cart-contents/edit.tsx">
|
|
<error line="104" column="11" severity="error" message="Property 'selectorText' does not exist on type 'CSSRule'." source="TS2339" />
|
|
<error line="105" column="11" severity="error" message="Property 'style' does not exist on type 'CSSRule'." source="TS2339" />
|
|
<error line="110" column="35" severity="error" message="Property 'style' does not exist on type 'CSSRule'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/blocks/mini-cart/mini-cart-contents/inner-blocks/empty-mini-cart-contents-block/index.tsx">
|
|
<error line="14" column="20" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ lock: unknown; }>, settings?: Partial<BlockConfiguration<{ lock: unknown; }>> | undefined): Block<{ lock: unknown; }> | 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<{ lock: unknown; }>'.
|
|
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<{ lock: unknown; }>, "icon">>'.
|
|
The types of 'attributes["lock"]' are incompatible between these types.
|
|
Type '{ type: string; default: { remove: boolean; move: boolean; }; }' is not assignable to type 'BlockAttribute<unknown>'.
|
|
Type '{ type: string; default: { remove: boolean; move: boolean; }; }' is missing the following properties from type 'Query<unknown>': source, selector, query
|
|
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; lock: boolean; }; attributes: { ...; }; parent: string[]; textdomain: string; apiVersion: number; }' is not assignable to parameter of type 'string'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/mini-cart/mini-cart-contents/inner-blocks/filled-mini-cart-contents-block/index.tsx">
|
|
<error line="14" column="20" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ lock: unknown; }>, settings?: Partial<BlockConfiguration<{ lock: unknown; }>> | undefined): Block<{ lock: unknown; }> | 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<{ lock: unknown; }>'.
|
|
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<{ lock: unknown; }>, "icon">>'.
|
|
The types of 'attributes["lock"]' are incompatible between these types.
|
|
Type '{ type: string; default: { remove: boolean; move: boolean; }; }' is not assignable to type 'BlockAttribute<unknown>'.
|
|
Type '{ type: string; default: { remove: boolean; move: boolean; }; }' is missing the following properties from type 'Query<unknown>': source, selector, query
|
|
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; lock: boolean; }; attributes: { ...; }; parent: string[]; textdomain: string; apiVersion: number; }' is not assignable to parameter of type 'string'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/mini-cart/mini-cart-contents/inner-blocks/mini-cart-title-block/edit.tsx">
|
|
<error line="16" column="5" severity="error" message="Property 'className' is missing in type '{}' but required in type 'MiniCartTitleBlockProps'." source="TS2741" />
|
|
</file>
|
|
<file name="assets/js/blocks/mini-cart/mini-cart-contents/inner-blocks/mini-cart-title-block/index.tsx">
|
|
<error line="13" column="20" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ lock: unknown; }>, settings?: Partial<BlockConfiguration<{ lock: unknown; }>> | undefined): Block<{ lock: unknown; }> | 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<{ lock: unknown; }>'.
|
|
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<{ lock: unknown; }>, "icon">>'.
|
|
The types of 'attributes["lock"]' are incompatible between these types.
|
|
Type '{ type: string; default: { remove: boolean; move: boolean; }; }' is not assignable to type 'BlockAttribute<unknown>'.
|
|
Type '{ type: string; default: { remove: boolean; move: boolean; }; }' is missing the following properties from type 'Query<unknown>': source, selector, query
|
|
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; lock: boolean; }; attributes: { ...; }; parent: string[]; textdomain: string; apiVersion: number; }' is not assignable to parameter of type 'string'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/mini-cart/mini-cart-contents/inner-blocks/mini-cart-items-block/index.tsx">
|
|
<error line="13" column="20" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ lock: unknown; }>, settings?: Partial<BlockConfiguration<{ lock: unknown; }>> | undefined): Block<{ lock: unknown; }> | 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<{ lock: unknown; }>'.
|
|
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<{ lock: unknown; }>, "icon">>'.
|
|
The types of 'attributes["lock"]' are incompatible between these types.
|
|
Type '{ type: string; default: { remove: boolean; move: boolean; }; }' is not assignable to type 'BlockAttribute<unknown>'.
|
|
Type '{ type: string; default: { remove: boolean; move: boolean; }; }' is missing the following properties from type 'Query<unknown>': source, selector, query
|
|
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; lock: boolean; }; attributes: { ...; }; parent: string[]; textdomain: string; apiVersion: number; }' is not assignable to parameter of type 'string'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/mini-cart/mini-cart-contents/inner-blocks/mini-cart-products-table-block/index.tsx">
|
|
<error line="13" column="20" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ lock: unknown; }>, settings?: Partial<BlockConfiguration<{ lock: unknown; }>> | undefined): Block<{ lock: unknown; }> | 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<{ lock: unknown; }>'.
|
|
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<{ lock: unknown; }>, "icon">>'.
|
|
The types of 'attributes["lock"]' are incompatible between these types.
|
|
Type '{ type: string; default: { remove: boolean; move: boolean; }; }' is not assignable to type 'BlockAttribute<unknown>'.
|
|
Type '{ type: string; default: { remove: boolean; move: boolean; }; }' is missing the following properties from type 'Query<unknown>': source, selector, query
|
|
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; lock: boolean; }; attributes: { ...; }; parent: string[]; textdomain: string; apiVersion: number; }' is not assignable to parameter of type 'string'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/mini-cart/mini-cart-contents/inner-blocks/mini-cart-footer-block/index.tsx">
|
|
<error line="13" column="20" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ lock: unknown; }>, settings?: Partial<BlockConfiguration<{ lock: unknown; }>> | undefined): Block<{ lock: unknown; }> | 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<{ lock: unknown; }>'.
|
|
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<{ lock: unknown; }>, "icon">>'.
|
|
The types of 'attributes["lock"]' are incompatible between these types.
|
|
Type '{ type: string; default: { remove: boolean; move: boolean; }; }' is not assignable to type 'BlockAttribute<unknown>'.
|
|
Type '{ type: string; default: { remove: boolean; move: boolean; }; }' is missing the following properties from type 'Query<unknown>': source, selector, query
|
|
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; lock: boolean; }; attributes: { ...; }; parent: string[]; textdomain: string; apiVersion: number; }' is not assignable to parameter of type 'string'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/mini-cart/mini-cart-contents/inner-blocks/mini-cart-shopping-button-block/edit.tsx">
|
|
<error line="18" column="6" severity="error" message="Property 'className' is missing in type '{}' but required in type 'MiniCartShoppingButtonBlockProps'." source="TS2741" />
|
|
</file>
|
|
<file name="assets/js/blocks/mini-cart/mini-cart-contents/inner-blocks/mini-cart-shopping-button-block/index.tsx">
|
|
<error line="13" column="20" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ lock: unknown; }>, settings?: Partial<BlockConfiguration<{ lock: unknown; }>> | undefined): Block<{ lock: unknown; }> | 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; }; attributes: { ...; }; parent: string[]; textdomain: string; apiVersion: number; }' is not assignable to parameter of type 'BlockConfiguration<{ lock: unknown; }>'.
|
|
Type '{ name: string; version: string; title: string; description: string; category: string; supports: { align: boolean; html: boolean; multiple: boolean; reusable: boolean; inserter: boolean; }; attributes: { ...; }; parent: string[]; textdomain: string; apiVersion: number; }' is not assignable to type 'Partial<Omit<Block<{ lock: unknown; }>, "icon">>'.
|
|
The types of 'attributes["lock"]' are incompatible between these types.
|
|
Type '{ type: string; default: { remove: boolean; move: boolean; }; }' is not assignable to type 'BlockAttribute<unknown>'.
|
|
Type '{ type: string; default: { remove: boolean; move: boolean; }; }' is missing the following properties from type 'Query<unknown>': source, selector, query
|
|
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; }; attributes: { ...; }; parent: string[]; textdomain: string; apiVersion: number; }' is not assignable to parameter of type 'string'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/mini-cart/test/block.js">
|
|
<error line="25" column="25" severity="error" message="Parameter 'props' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="59" column="25" severity="error" message="Property 'invalidateResolutionForStore' does not exist on type 'DispatchFromMap<typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/data/cart/actions")>'." source="TS2339" />
|
|
<error line="60" column="38" severity="error" message="Argument of type 'Cart' is not assignable to parameter of type 'CartResponse'." source="TS2345" />
|
|
<error line="103" column="6" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="125" column="6" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="135" column="42" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="147" column="52" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'Matchers<void, HTMLElement | null>'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/blocks/price-filter/edit.tsx">
|
|
<error line="18" column="2" severity="error" message="Module '"@wordpress/components"' has no exported member '__experimentalToggleGroupControl'." source="TS2305" />
|
|
<error line="20" column="2" severity="error" message="Module '"@wordpress/components"' has no exported member '__experimentalToggleGroupControlOption'." source="TS2305" />
|
|
</file>
|
|
<file name="assets/js/blocks/price-filter/index.tsx">
|
|
<error line="16" column="20" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<Attributes>, settings?: Partial<BlockConfiguration<Attributes>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type '{ name: string; version: string; title: string; description: string; category: string; keywords: string[]; supports: { html: boolean; multiple: boolean; color: { text: boolean; background: boolean; }; inserter: boolean; lock: boolean; }; ... 4 more ...; $schema: string; }' is not assignable to parameter of type 'BlockConfiguration<Attributes>'.
|
|
Type '{ name: string; version: string; title: string; description: string; category: string; keywords: string[]; supports: { html: boolean; multiple: boolean; color: { text: boolean; background: boolean; }; inserter: boolean; lock: boolean; }; ... 4 more ...; $schema: string; }' is not assignable to type 'Partial<Omit<Block<Attributes>, "icon">>'.
|
|
Types of property 'attributes' are incompatible.
|
|
Property 'heading' is missing in type '{ className: { type: string; default: string; }; showInputFields: { type: string; default: boolean; }; inlineInput: { type: string; default: boolean; }; showFilterButton: { type: string; default: boolean; }; headingLevel: { ...; }; }' but required in type '{ readonly showFilterButton: BlockAttribute<boolean>; readonly showInputFields: BlockAttribute<boolean>; readonly inlineInput: BlockAttribute<boolean>; readonly heading: BlockAttribute<...>; readonly headingLevel: BlockAttribute<...>; readonly className?: BlockAttribute<...>; }'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<Attributes>): Block<Attributes> | undefined', gave the following error.
|
|
Argument of type '{ name: string; version: string; title: string; description: string; category: string; keywords: string[]; supports: { html: boolean; multiple: boolean; color: { text: boolean; background: boolean; }; inserter: boolean; lock: boolean; }; ... 4 more ...; $schema: string; }' is not assignable to parameter of type 'string'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/price-filter/test/use-price-constraints.js">
|
|
<error line="16" column="28" severity="error" message="Binding element 'price' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="21" column="5" severity="error" message="Type '{ minPriceConstraint: number | null | undefined; maxPriceConstraint: number | null | undefined; }' is not assignable to type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.
|
|
Property 'minPriceConstraint' does not exist on type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/editor-components/grid-layout-control/index.js">
|
|
<error line="38" column="30" severity="error" message="Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
|
|
Type 'undefined' is not assignable to type 'number'." source="TS2345" />
|
|
<error line="50" column="30" severity="error" message="Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
|
|
Type 'undefined' is not assignable to type 'number'." source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/blocks/product-best-sellers/block.tsx">
|
|
<error line="5" 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" />
|
|
</file>
|
|
<file name="assets/js/blocks/product-best-sellers/index.tsx">
|
|
<error line="17" column="20" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ columns: unknown; rows: unknown; alignButtons: unknown; contentVisibility: unknown; categories: unknown; catOperator: unknown; isPreview: unknown; stockStatus: unknown; editMode: unknown; orderby: unknown; }>, settings?: Partial<...> | undefined): 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 'BlockConfiguration<{ columns: unknown; rows: unknown; alignButtons: unknown; contentVisibility: unknown; categories: unknown; catOperator: unknown; isPreview: unknown; stockStatus: unknown; editMode: unknown; orderby: unknown; }>'.
|
|
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 type 'Partial<Omit<Block<{ columns: unknown; rows: unknown; alignButtons: unknown; contentVisibility: unknown; categories: unknown; catOperator: unknown; isPreview: unknown; stockStatus: unknown; editMode: unknown; orderby: unknown; }>, "icon">>'.
|
|
The types of 'attributes["columns"]' are incompatible between these types.
|
|
Type '{ type: string; default: number; }' is not assignable to type 'BlockAttribute<unknown>'.
|
|
Type '{ type: string; default: number; }' is missing the following properties from type 'Query<unknown>': source, selector, query
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ columns: unknown; rows: unknown; alignButtons: unknown; contentVisibility: unknown; categories: unknown; catOperator: 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-categories/block.js">
|
|
<error line="6" 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="15" column="2" severity="error" message="Module '"@wordpress/components"' has no exported member '__experimentalToggleGroupControl'." source="TS2305" />
|
|
<error line="17" column="2" severity="error" message="Module '"@wordpress/components"' has no exported member '__experimentalToggleGroupControlOption'." source="TS2305" />
|
|
<error line="46" column="11" severity="error" message="Property 'hasCount' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="46" column="21" severity="error" message="Property 'hasImage' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="46" column="31" severity="error" message="Property 'hasEmpty' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="46" column="41" severity="error" message="Property 'isDropdown' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="46" column="53" severity="error" message="Property 'isHierarchical' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="64" column="20" severity="error" message="Parameter 'value' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/blocks/product-categories/edit.tsx">
|
|
<error line="17" column="5" severity="error" message="Type 'unknown' is not assignable to type 'IntrinsicAttributes & Pick<{ attributes: Object; setAttributes: (arg0: any) => any; name: string; }, "name" | "attributes" | "setAttributes"> & Pick<...> & Pick<...>'.
|
|
Type 'unknown' is not assignable to type 'IntrinsicAttributes'." source="TS2322" />
|
|
<error line="17" column="16" severity="error" message="Spread types may only be created from object types." source="TS2698" />
|
|
</file>
|
|
<file name="assets/js/blocks/product-categories/index.tsx">
|
|
<error line="15" column="20" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ align: unknown; hasCount: unknown; hasImage: unknown; hasEmpty: unknown; isDropdown: unknown; isHierarchical: unknown; }>, settings?: Partial<BlockConfiguration<{ align: unknown; hasCount: unknown; hasImage: unknown; hasEmpty: unknown; isDropdown: unknown; isHierarchical: unknown; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type '{ name: string; title: string; category: string; description: string; keywords: string[]; supports: { align: string[]; html: boolean; color: { background: boolean; link: boolean; }; typography: { fontSize: boolean; lineHeight: boolean; }; }; ... 4 more ...; $schema: string; }' is not assignable to parameter of type 'BlockConfiguration<{ align: unknown; hasCount: unknown; hasImage: unknown; hasEmpty: unknown; isDropdown: unknown; isHierarchical: unknown; }>'.
|
|
Type '{ name: string; title: string; category: string; description: string; keywords: string[]; supports: { align: string[]; html: boolean; color: { background: boolean; link: boolean; }; typography: { fontSize: boolean; lineHeight: boolean; }; }; ... 4 more ...; $schema: string; }' is not assignable to type 'Partial<Omit<Block<{ align: unknown; hasCount: unknown; hasImage: unknown; hasEmpty: unknown; isDropdown: unknown; isHierarchical: unknown; }>, "icon">>'.
|
|
The types of 'attributes["align"]' are incompatible between these types.
|
|
Type '{ type: string; }' is not assignable to type 'BlockAttribute<unknown>'.
|
|
Type '{ type: string; }' is missing the following properties from type 'Query<unknown>': source, selector, query
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{}>): Block<{}> | undefined', gave the following error.
|
|
Argument of type '{ name: string; title: string; category: string; description: string; keywords: string[]; supports: { align: string[]; html: boolean; color: { background: boolean; link: boolean; }; typography: { fontSize: boolean; lineHeight: boolean; }; }; ... 4 more ...; $schema: string; }' is not assignable to parameter of type 'string'." source="TS2769" />
|
|
<error line="30" column="18" severity="error" message="Property 'idBase' does not exist on type '{ align: unknown; hasCount: unknown; hasImage: unknown; hasEmpty: unknown; isDropdown: unknown; isHierarchical: unknown; }'." source="TS2339" />
|
|
<error line="30" column="26" severity="error" message="Property 'instance' does not exist on type '{ align: unknown; hasCount: unknown; hasImage: unknown; hasEmpty: unknown; isDropdown: unknown; isHierarchical: unknown; }'." source="TS2339" />
|
|
<error line="33" column="20" severity="error" message="Property 'instance' does not exist on type '{ align: unknown; hasCount: unknown; hasImage: unknown; hasEmpty: unknown; isDropdown: unknown; isHierarchical: unknown; }'." source="TS2339" />
|
|
<error line="85" column="6" severity="error" message="Element implicitly has an 'any' type because expression of type '"data-has-count"' can't be used to index type '{}'.
|
|
Property 'data-has-count' does not exist on type '{}'." source="TS7053" />
|
|
<error line="88" column="6" severity="error" message="Element implicitly has an 'any' type because expression of type '"data-has-empty"' can't be used to index type '{}'.
|
|
Property 'data-has-empty' does not exist on type '{}'." source="TS7053" />
|
|
<error line="91" column="6" severity="error" message="Element implicitly has an 'any' type because expression of type '"data-is-dropdown"' can't be used to index type '{}'.
|
|
Property 'data-is-dropdown' does not exist on type '{}'." source="TS7053" />
|
|
<error line="94" column="6" severity="error" message="Element implicitly has an 'any' type because expression of type '"data-is-hierarchical"' can't be used to index type '{}'.
|
|
Property 'data-is-hierarchical' does not exist on type '{}'." source="TS7053" />
|
|
</file>
|
|
<file name="assets/js/blocks/product-category/block.tsx">
|
|
<error line="5" 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" />
|
|
</file>
|
|
<file name="assets/js/editor-components/product-stock-control/index.tsx">
|
|
<error line="28" column="10" severity="error" message="Property 'outofstock' does not exist on type 'unknown'." source="TS2339" />
|
|
<error line="28" column="25" severity="error" message="Rest types may only be created from object types." source="TS2700" />
|
|
<error line="90" column="7" severity="error" message="Type 'unknown' is not assignable to type 'ReactNode'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/product-category/index.tsx">
|
|
<error line="21" column="20" 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; editMode: unknown; orderby: unknown; }>, settings?: Partial<...> | undefined): 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 'BlockConfiguration<{ columns: unknown; rows: unknown; alignButtons: unknown; categories: unknown; catOperator: unknown; contentVisibility: unknown; isPreview: unknown; stockStatus: unknown; editMode: unknown; orderby: unknown; }>'.
|
|
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 type 'Partial<Omit<Block<{ columns: unknown; rows: unknown; alignButtons: unknown; categories: unknown; catOperator: unknown; contentVisibility: unknown; isPreview: unknown; stockStatus: unknown; editMode: unknown; orderby: unknown; }>, "icon">>'.
|
|
The types of 'attributes.columns' are incompatible between these types.
|
|
Type '{ type: string; default: number; }' is not assignable to type 'BlockAttribute<unknown>'.
|
|
Type '{ type: string; default: number; }' is missing the following properties from type 'Query<unknown>': source, selector, query
|
|
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.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.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; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ columns: unknown; rows: unknown; alignButtons: unknown; categories: unknown; catOperator: unknown; contentVisibility: unknown; isPreview: unknown; stockStatus: unknown; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ columns: unknown; rows: unknown; alignButtons: unknown; categories: unknown; catOperator: unknown; contentVisibility: unknown; isPreview: unknown; stockStatus: unknown; }>): Block<{ ...; }> | undefined', gave the following error.
|
|
Type '{ columns: { type: string; default: any; }; rows: { type: string; default: any; }; alignButtons: { type: string; default: boolean; }; categories: { type: string; default: never[]; }; catOperator: { type: string; default: string; }; contentVisibility: { ...; }; isPreview: { ...; }; stockStatus: { ...; }; }' is not assignable to type '{ readonly columns: BlockAttribute<unknown>; readonly rows: BlockAttribute<unknown>; readonly alignButtons: BlockAttribute<unknown>; readonly categories: BlockAttribute<unknown>; readonly catOperator: BlockAttribute<...>; readonly contentVisibility: BlockAttribute<...>; readonly isPreview: BlockAttribute<...>; reado...'.
|
|
Types of property 'columns' are incompatible.
|
|
Type '{ type: string; default: any; }' is not assignable to type 'BlockAttribute<unknown>'.
|
|
Type '{ type: string; default: any; }' is missing the following properties from type 'Query<unknown>': source, selector, query" source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/product-on-sale/block.js">
|
|
<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="95" column="20" severity="error" message="Parameter 'value' implicitly has an 'any[]' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/blocks/product-on-sale/index.js">
|
|
<error line="17" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ orderby: unknown; columns: unknown; rows: unknown; alignButtons: unknown; categories: unknown; catOperator: unknown; contentVisibility: unknown; isPreview: unknown; stockStatus: unknown; }>, settings?: Partial<BlockConfiguration<{ orderby: unknown; ... 7 more ...; stockStatus: unknown; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ orderby: unknown; columns: unknown; rows: unknown; alignButtons: unknown; categories: unknown; catOperator: unknown; contentVisibility: unknown; isPreview: unknown; stockStatus: unknown; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ orderby: unknown; columns: unknown; rows: unknown; alignButtons: unknown; categories: unknown; catOperator: unknown; contentVisibility: unknown; isPreview: unknown; stockStatus: unknown; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ orderby: unknown; columns: unknown; rows: unknown; alignButtons: unknown; categories: unknown; catOperator: unknown; contentVisibility: unknown; isPreview: unknown; stockStatus: unknown; }>): Block<...> | undefined', gave the following error.
|
|
Type '{ orderby: { type: "string"; default: string; }; columns: { type: string; default: any; }; rows: { type: string; default: any; }; alignButtons: { type: string; default: boolean; }; categories: { type: string; default: never[]; }; catOperator: { ...; }; contentVisibility: { ...; }; isPreview: { ...; }; stockStatus: {...' is not assignable to type '{ readonly orderby: BlockAttribute<unknown>; readonly columns: BlockAttribute<unknown>; readonly rows: BlockAttribute<unknown>; readonly alignButtons: BlockAttribute<unknown>; ... 4 more ...; readonly stockStatus: BlockAttribute<...>; }'.
|
|
Types of property 'columns' are incompatible.
|
|
Type '{ type: string; default: any; }' is not assignable to type 'BlockAttribute<unknown>'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/product-query/utils.tsx">
|
|
<error line="5" column="10" severity="error" message="Module '"@wordpress/blocks"' has no exported member 'store'." source="TS2305" />
|
|
<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" />
|
|
</file>
|
|
<file name="assets/js/blocks/product-query/inspector-controls.tsx">
|
|
<error line="14" column="2" severity="error" message="Module '"@wordpress/components"' has no exported member '__experimentalToolsPanel'." source="TS2305" />
|
|
<error line="16" column="2" severity="error" message="Module '"@wordpress/components"' has no exported member '__experimentalToolsPanelItem'." source="TS2305" />
|
|
<error line="51" column="6" severity="error" message="Property 'getBlockVariations' does not exist on type 'typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@types/wordpress__blocks/store/selectors")'." source="TS2339" />
|
|
<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.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.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; }>'.
|
|
The types of 'propTypes.attributes' are incompatible between these types.
|
|
Type 'Validator<object>' is not assignable to type 'Validator<{ label: string; placeholder: string; formId: string; className: string; hasLabel: boolean; align: string; }>'.
|
|
Type '{}' is missing the following properties from type '{ label: string; placeholder: string; formId: string; className: string; hasLabel: boolean; align: string; }': label, placeholder, formId, className, and 2 more." source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/blocks/product-search/index.tsx">
|
|
<error line="118" column="20" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ hasLabel: unknown; label: unknown; placeholder: unknown; formId: unknown; }>, settings?: Partial<BlockConfiguration<{ hasLabel: unknown; label: unknown; placeholder: unknown; formId: unknown; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'BlockConfiguration<{ hasLabel: unknown; label: unknown; placeholder: unknown; formId: unknown; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ hasLabel: unknown; label: unknown; placeholder: unknown; formId: unknown; }>, "title" | "category" | "attributes">'." source="TS2769" />
|
|
<error line="150" column="18" severity="error" message="Property 'idBase' does not exist on type '{ hasLabel: unknown; label: unknown; placeholder: unknown; formId: unknown; }'." source="TS2339" />
|
|
<error line="150" column="26" severity="error" message="Property 'instance' does not exist on type '{ hasLabel: unknown; label: unknown; placeholder: unknown; formId: unknown; }'." source="TS2339" />
|
|
<error line="152" column="20" severity="error" message="Property 'instance' does not exist on type '{ hasLabel: unknown; label: unknown; placeholder: unknown; formId: unknown; }'." source="TS2339" />
|
|
<error line="167" column="8" severity="error" message="Type '{ attributes: Readonly<Record<string, any>>; children?: ReactNode; }' is not assignable to type 'Pick<{ attributes: { label: string; placeholder: string; formId: string; className: string; hasLabel: boolean; align: string; }; }, "attributes">'.
|
|
Types of property 'attributes' are incompatible.
|
|
Type 'Readonly<Record<string, any>>' is missing the following properties from type '{ label: string; placeholder: string; formId: string; className: string; hasLabel: boolean; align: string; }': label, placeholder, formId, className, and 2 more." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/editor-components/product-tag-control/index.js">
|
|
<error line="27" column="10" severity="error" message="A spread argument must either have a tuple type or be passed to a rest parameter." source="TS2556" />
|
|
<error line="39" column="19" severity="error" message="Argument of type '{ selected: any; }' is not assignable to parameter of type '{ selected: any[]; search: string; }'.
|
|
Property 'search' is missing in type '{ selected: any; }' but required in type '{ selected: any[]; search: string; }'." source="TS2345" />
|
|
<error line="48" column="12" severity="error" message="Parameter 'search' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="61" column="14" severity="error" message="Parameter 'args' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="113" column="16" severity="error" message="Parameter 'n' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="139" column="15" severity="error" message="Parameter 'id' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="140" column="44" severity="error" message="Property 'id' does not exist on type 'never'." source="TS2339" />
|
|
<error line="144" column="6" severity="error" message="Type 'DebouncedFunc<(search: any) => void> | null' is not assignable to type '(search: string) => void'.
|
|
Type 'null' is not assignable to type '(search: string) => void'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/product-tag/block.js">
|
|
<error line="6" 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="31" column="10" severity="error" message="A spread argument must either have a tuple type or be passed to a rest parameter." source="TS2556" />
|
|
<error line="66" column="24" severity="error" message="Parameter 'attributes' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="67" column="20" severity="error" message="Parameter 'prevState' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="109" column="20" severity="error" message="Parameter 'value' implicitly has an 'any[]' type." source="TS7006" />
|
|
<error line="212" column="20" severity="error" message="Parameter 'value' implicitly has an 'any[]' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/blocks/product-tag/edit.tsx">
|
|
<error line="17" column="5" severity="error" message="Type 'unknown' is not assignable to type 'IntrinsicAttributes & Omit<any, "speak" | "debouncedSpeak"> & { children?: ReactNode; }'.
|
|
Type 'unknown' is not assignable to type 'IntrinsicAttributes'." source="TS2322" />
|
|
<error line="17" column="16" severity="error" message="Spread types may only be created from object types." source="TS2698" />
|
|
</file>
|
|
<file name="assets/js/blocks/product-tag/index.tsx">
|
|
<error line="18" column="20" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ columns: unknown; rows: unknown; tags: unknown; stockStatus: unknown; alignButtons: unknown; contentVisibility: unknown; tagOperator: unknown; orderby: unknown; isPreview: unknown; }>, settings?: Partial<BlockConfiguration<{ columns: unknown; ... 7 more ...; isPreview: unknown; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type '{ name: string; title: string; category: string; keywords: string[]; description: string; supports: { align: string[]; html: boolean; }; attributes: { columns: { type: string; default: number; }; rows: { type: string; default: number; }; ... 6 more ...; stockStatus: { ...; }; }; example: { ...; }; textdomain: string...' is not assignable to parameter of type 'BlockConfiguration<{ columns: unknown; rows: unknown; tags: unknown; stockStatus: unknown; alignButtons: unknown; contentVisibility: unknown; tagOperator: unknown; orderby: unknown; isPreview: unknown; }>'.
|
|
Type '{ name: string; title: string; category: string; keywords: string[]; description: string; supports: { align: string[]; html: boolean; }; attributes: { columns: { type: string; default: number; }; rows: { type: string; default: number; }; ... 6 more ...; stockStatus: { ...; }; }; example: { ...; }; textdomain: string...' is not assignable to type 'Partial<Omit<Block<{ columns: unknown; rows: unknown; tags: unknown; stockStatus: unknown; alignButtons: unknown; contentVisibility: unknown; tagOperator: unknown; orderby: unknown; isPreview: unknown; }>, "icon">>'.
|
|
The types of 'attributes.columns' are incompatible between these types.
|
|
Type '{ type: string; default: number; }' is not assignable to type 'BlockAttribute<unknown>'.
|
|
Type '{ type: string; default: number; }' is missing the following properties from type 'Query<unknown>': source, selector, query
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ columns: unknown; rows: unknown; tags: unknown; stockStatus: unknown; alignButtons: unknown; contentVisibility: unknown; tagOperator: unknown; orderby: unknown; isPreview: 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; }; attributes: { columns: { type: string; default: number; }; rows: { type: string; default: number; }; ... 6 more ...; stockStatus: { ...; }; }; example: { ...; }; textdomain: string...' is not assignable to parameter of type 'string'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/product-top-rated/block.js">
|
|
<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="70" column="20" severity="error" message="Parameter 'value' implicitly has an 'any[]' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/blocks/product-top-rated/index.js">
|
|
<error line="20" 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; }>'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ columns: unknown; rows: unknown; alignButtons: unknown; categories: unknown; catOperator: unknown; contentVisibility: unknown; isPreview: unknown; stockStatus: unknown; }>, "title" | "category" | "attributes">'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ columns: unknown; rows: unknown; alignButtons: unknown; categories: unknown; catOperator: unknown; contentVisibility: unknown; isPreview: unknown; stockStatus: unknown; }>): Block<{ ...; }> | undefined', gave the following error.
|
|
Type '{ columns: { type: string; default: any; }; rows: { type: string; default: any; }; alignButtons: { type: string; default: boolean; }; categories: { type: string; default: never[]; }; catOperator: { type: string; default: string; }; contentVisibility: { ...; }; isPreview: { ...; }; stockStatus: { ...; }; }' is not assignable to type '{ readonly columns: BlockAttribute<unknown>; readonly rows: BlockAttribute<unknown>; readonly alignButtons: BlockAttribute<unknown>; readonly categories: BlockAttribute<unknown>; readonly catOperator: BlockAttribute<...>; readonly contentVisibility: BlockAttribute<...>; readonly isPreview: BlockAttribute<...>; reado...'.
|
|
Types of property 'columns' are incompatible.
|
|
Type '{ type: string; default: any; }' is not assignable to type 'BlockAttribute<unknown>'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/products/base-utils.js">
|
|
<error line="17" column="14" severity="error" message="'getProductLayoutConfig' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions." source="TS7023" />
|
|
<error line="24" column="10" severity="error" message="Property 'name' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="26" column="14" severity="error" message="Property 'attributes' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="29" column="12" severity="error" message="Property 'innerBlocks' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="30" column="39" severity="error" message="Property 'innerBlocks' does not exist on type 'Object'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/blocks/products/edit-utils.js">
|
|
<error line="9" column="46" severity="error" message="Parameter 'blockTitle' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="9" column="58" severity="error" message="Parameter 'blockIcon' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="39" column="49" severity="error" message="Parameter 'blockTitle' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="39" column="61" severity="error" message="Parameter 'blockIcon' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/blocks/products/edit.js">
|
|
<error line="7" column="43" severity="error" message="Parameter 'attributes' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="7" column="55" severity="error" message="Parameter 'setAttributes' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="28" column="40" severity="error" message="Parameter 'attributes' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="28" column="52" severity="error" message="Parameter 'setAttributes' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/blocks/products/utils.js">
|
|
<error line="6" column="36" severity="error" message="Parameter 'blockClassName' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="6" column="52" severity="error" message="Parameter 'attributes' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/blocks/products/all-products/block.js">
|
|
<error line="43" column="6" severity="error" message="Type '{ attributes: any; urlParameterSuffix: any; }' is not assignable to type 'IntrinsicAttributes & Pick<ProductListContainerProps, "attributes"> & Pick<InferProps<{ attributes: Validator<object>; hideOutOfStockItems: Requireable<...>; }>, "hideOutOfStockItems"> & Pick<...>'.
|
|
Property 'urlParameterSuffix' does not exist on type 'IntrinsicAttributes & Pick<ProductListContainerProps, "attributes"> & Pick<InferProps<{ attributes: Validator<object>; hideOutOfStockItems: Requireable<...>; }>, "hideOutOfStockItems"> & Pick<...>'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/products/all-products/deprecated.js">
|
|
<error line="18" column="10" severity="error" message="Binding element 'attributes' implicitly has an 'any' type." source="TS7031" />
|
|
</file>
|
|
<file name="assets/js/blocks/products/all-products/edit.js">
|
|
<error line="183" column="10" severity="error" message="Variable 'newBlocks' implicitly has type 'any[]' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="185" column="34" severity="error" message="Argument of type 'string | { imageSizing: string; }' is not assignable to parameter of type 'string'.
|
|
Type '{ imageSizing: string; }' is not assignable to type 'string'." source="TS2345" />
|
|
<error line="188" column="40" severity="error" message="Variable 'newBlocks' implicitly has an 'any[]' type." source="TS7005" />
|
|
<error line="199" column="20" severity="error" message="Property 'renderAppender' does not exist on type '{ template: any; templateLock: boolean; allowedBlocks: string[]; }'." source="TS2339" />
|
|
<error line="223" column="11" severity="error" message="Type '{ id: number; name: string; variation: string; permalink: string; sku: string; short_description: string; description: string; price: string; price_html: string; images: { id: number; src: string; thumbnail: string; name: string; alt: string; srcset: string; sizes: string; }[]; ... 8 more ...; on_sale: boolean; }' is missing the following properties from type 'ProductResponseItem': parent, type, tags, attributes, and 4 more." source="TS2740" />
|
|
<error line="225" column="12" severity="error" message="Type '{ template: any; templateLock: boolean; allowedBlocks: string[]; }' is not assignable to type 'Props'.
|
|
Types of property 'templateLock' are incompatible.
|
|
Type 'boolean' is not assignable to type 'EditorTemplateLock | undefined'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/products/all-products/frontend.js">
|
|
<error line="20" column="20" severity="error" message="Parameter 'el' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/blocks/products/all-products/save.js">
|
|
<error line="11" column="33" severity="error" message="Binding element 'attributes' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="16" column="4" severity="error" message="Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'." source="TS7053" />
|
|
</file>
|
|
<file name="assets/js/blocks/products/all-products/index.js">
|
|
<error line="36" 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 'string' is not assignable to parameter of type 'BlockConfiguration<{}>'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{}>): Block<{}> | undefined', gave the following error.
|
|
Argument of type '{ icon: { src: JSX.Element; }; edit: any; save: ({ attributes }: { attributes: any; }) => JSX.Element; deprecated: { attributes: { columns: { type: string; }; rows: { type: string; }; alignButtons: { type: string; }; contentVisibility: { ...; }; orderby: { ...; }; layoutConfig: { ...; }; isPreview: { ...; }; } & { ....' is not assignable to parameter of type 'BlockConfiguration<{}>'.
|
|
Type '{ icon: { src: JSX.Element; }; edit: any; save: ({ attributes }: { attributes: any; }) => JSX.Element; deprecated: { attributes: { columns: { type: string; }; rows: { type: string; }; alignButtons: { type: string; }; contentVisibility: { ...; }; orderby: { ...; }; layoutConfig: { ...; }; isPreview: { ...; }; } & { ....' is not assignable to type 'Partial<Omit<Block<{}>, "icon">>'.
|
|
Types of property 'deprecated' are incompatible.
|
|
Type '{ attributes: { columns: { type: string; }; rows: { type: string; }; alignButtons: { type: string; }; contentVisibility: { type: string; }; orderby: { type: string; }; layoutConfig: { type: string; }; isPreview: { ...; }; } & { ...; }; save({ attributes }: { ...; }): Element; }[]' is not assignable to type 'readonly BlockDeprecation<{}, Record<string, any>>[]'.
|
|
Type '{ attributes: { columns: { type: string; }; rows: { type: string; }; alignButtons: { type: string; }; contentVisibility: { type: string; }; orderby: { type: string; }; layoutConfig: { type: string; }; isPreview: { ...; }; } & { ...; }; save({ attributes }: { ...; }): Element; }' is not assignable to type 'BlockDeprecation<{}, Record<string, any>>'.
|
|
Types of property 'attributes' are incompatible.
|
|
Type '{ columns: { type: string; }; rows: { type: string; }; alignButtons: { type: string; }; contentVisibility: { type: string; }; orderby: { type: string; }; layoutConfig: { type: string; }; isPreview: { type: string; default: boolean; }; } & { ...; }' is not assignable to type '{ readonly [x: string]: BlockAttribute<any>; }'.
|
|
Property '"columns"' is incompatible with index signature.
|
|
Type '{ type: string; }' is not assignable to type 'BlockAttribute<any>'.
|
|
Type '{ type: string; }' is missing the following properties from type 'Query<any>': source, selector, query" source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/products-by-attribute/block.tsx">
|
|
<error line="4" 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" />
|
|
</file>
|
|
<file name="assets/js/editor-components/product-attribute-term-control/index.js">
|
|
<error line="15" column="38" severity="error" message="An import path cannot end with a '.tsx' extension. Consider importing '@woocommerce/editor-components/expandable-search-list-item/expandable-search-list-item.js' instead." source="TS2691" />
|
|
<error line="23" column="2" severity="error" message="Binding element 'attributes' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="24" column="2" severity="error" message="Binding element 'error' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="25" column="2" severity="error" message="Binding element 'expandedAttribute' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="26" column="2" severity="error" message="Binding element 'onChange' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="27" column="2" severity="error" message="Binding element 'onExpandAttribute' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="28" column="2" severity="error" message="Binding element 'onOperatorChange' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="29" column="2" severity="error" message="Binding element 'instanceId' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="30" column="2" severity="error" message="Binding element 'isCompact' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="31" column="2" severity="error" message="Binding element 'isLoading' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="32" column="2" severity="error" message="Binding element 'operator' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="33" column="2" severity="error" message="Binding element 'selected' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="34" column="2" severity="error" message="Binding element 'termsAreLoading' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="35" column="2" severity="error" message="Binding element 'termsList' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="37" column="23" severity="error" message="Parameter 'args' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="60" column="21" severity="error" message="Binding element 'id' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="141" column="15" severity="error" message="Parameter 'n' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="164" column="5" severity="error" message="Property 'isSingle' is missing in type '{ className: string; list: any[]; isLoading: any; selected: any; onChange: any; renderItem: (args: any) => Element; messages: { clear: string; list: string; noItems: string; search: string; selected: (n: any) => string; updated: string; }; isCompact: any; isHierarchical: true; }' but required in type 'SearchListControlProps'." source="TS2741" />
|
|
<error line="169" column="16" severity="error" message="Binding element 'id' implicitly has an 'any' type." source="TS7031" />
|
|
</file>
|
|
<file name="assets/js/blocks/products-by-attribute/edit-mode.tsx">
|
|
<error line="63" column="24" severity="error" message="Type '{ id: never; attr_slug: never; }[]' is not assignable to type 'string[]'.
|
|
Type '{ id: never; attr_slug: never; }' is not assignable to type 'string'." source="TS2322" />
|
|
<error line="67" column="24" severity="error" message="Type 'string' is not assignable to type '"all" | "any"'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/products-by-attribute/inspector-controls.tsx">
|
|
<error line="78" column="24" severity="error" message="Type '{ id: never; attr_slug: never; }[]' is not assignable to type 'string[]'.
|
|
Type '{ id: never; attr_slug: never; }' is not assignable to type 'string'." source="TS2322" />
|
|
<error line="82" column="24" severity="error" message="Type 'string' is not assignable to type '"all" | "any"'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/products-by-attribute/index.tsx">
|
|
<error line="15" column="20" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ columns: unknown; rows: unknown; stockStatus: unknown; attributes: unknown; attrOperator: unknown; contentVisibility: unknown; orderby: unknown; alignButtons: unknown; isPreview: unknown; }>, settings?: Partial<BlockConfiguration<{ columns: unknown; ... 7 more ...; isPreview: unknown; }>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type '{ name: string; title: string; category: string; keywords: string[]; description: string; supports: { align: string[]; html: boolean; }; attributes: { attributes: { type: string; default: never[]; }; attrOperator: { ...; }; ... 6 more ...; stockStatus: { ...; }; }; textdomain: string; apiVersion: number; $schema: st...' is not assignable to parameter of type 'BlockConfiguration<{ columns: unknown; rows: unknown; stockStatus: unknown; attributes: unknown; attrOperator: unknown; contentVisibility: unknown; orderby: unknown; alignButtons: unknown; isPreview: unknown; }>'.
|
|
Type '{ name: string; title: string; category: string; keywords: string[]; description: string; supports: { align: string[]; html: boolean; }; attributes: { attributes: { type: string; default: never[]; }; attrOperator: { ...; }; ... 6 more ...; stockStatus: { ...; }; }; textdomain: string; apiVersion: number; $schema: st...' is not assignable to type 'Partial<Omit<Block<{ columns: unknown; rows: unknown; stockStatus: unknown; attributes: unknown; attrOperator: unknown; contentVisibility: unknown; orderby: unknown; alignButtons: unknown; isPreview: unknown; }>, "icon">>'.
|
|
The types of 'attributes.columns' are incompatible between these types.
|
|
Type '{ type: string; default: number; }' is not assignable to type 'BlockAttribute<unknown>'.
|
|
Type '{ type: string; default: number; }' is missing the following properties from type 'Query<unknown>': source, selector, query
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ columns: unknown; rows: unknown; stockStatus: unknown; attributes: unknown; attrOperator: unknown; contentVisibility: unknown; orderby: unknown; alignButtons: unknown; isPreview: 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; }; attributes: { attributes: { type: string; default: never[]; }; attrOperator: { ...; }; ... 6 more ...; stockStatus: { ...; }; }; textdomain: string; apiVersion: number; $schema: st...' is not assignable to parameter of type 'string'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/rating-filter/index.tsx">
|
|
<error line="16" column="20" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<Attributes>, settings?: Partial<BlockConfiguration<Attributes>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type '{ name: string; version: string; title: string; description: string; category: string; keywords: string[]; supports: { html: boolean; multiple: boolean; color: { __experimentalDefaultControls: { text: boolean; }; }; inserter: boolean; lock: boolean; }; ... 4 more ...; $schema: string; }' is not assignable to parameter of type 'BlockConfiguration<Attributes>'.
|
|
Type '{ name: string; version: string; title: string; description: string; category: string; keywords: string[]; supports: { html: boolean; multiple: boolean; color: { __experimentalDefaultControls: { text: boolean; }; }; inserter: boolean; lock: boolean; }; ... 4 more ...; $schema: string; }' is not assignable to type 'Partial<Omit<Block<Attributes>, "icon">>'.
|
|
The types of 'attributes.className' are incompatible between these types.
|
|
Type '{ type: string; default: string; }' is not assignable to type 'BlockAttribute<string | undefined>'.
|
|
Type '{ type: string; default: string; }' is missing the following properties from type 'Query<string | undefined>': source, selector, query
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<Attributes>): Block<Attributes> | undefined', gave the following error.
|
|
Argument of type '{ name: string; version: string; title: string; description: string; category: string; keywords: string[]; supports: { html: boolean; multiple: boolean; color: { __experimentalDefaultControls: { text: boolean; }; }; inserter: boolean; lock: boolean; }; ... 4 more ...; $schema: string; }' is not assignable to parameter of type 'string'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/reviews/edit-utils.js">
|
|
<error line="15" column="2" severity="error" message="Module '"@wordpress/components"' has no exported member '__experimentalToggleGroupControl'." source="TS2305" />
|
|
<error line="17" column="2" severity="error" message="Module '"@wordpress/components"' has no exported member '__experimentalToggleGroupControlOption'." source="TS2305" />
|
|
<error line="20" column="35" severity="error" message="Parameter 'editMode' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="20" column="45" severity="error" message="Parameter 'setAttributes' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="20" column="60" severity="error" message="Parameter 'buttonTitle' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="35" column="49" severity="error" message="Parameter 'attributes' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="35" column="61" severity="error" message="Parameter 'setAttributes' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="118" column="20" severity="error" message="Parameter 'value' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="168" column="46" severity="error" message="Parameter 'attributes' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="168" column="58" severity="error" message="Parameter 'setAttributes' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/blocks/reviews/editor-block.js">
|
|
<error line="64" column="7" severity="error" message="Property 'onClick' is missing in type '{ screenReaderLabel: string; }' but required in type 'LoadMoreButtonProps'." source="TS2741" />
|
|
</file>
|
|
<file name="assets/js/blocks/reviews/editor-container-block.js">
|
|
<error line="17" column="2" severity="error" message="Binding element 'attributes' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="18" column="2" severity="error" message="Binding element 'icon' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="19" column="2" severity="error" message="Binding element 'name' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="20" column="2" severity="error" message="Binding element 'noReviewsPlaceholder' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="62" column="23" severity="error" message="Parameter 'callback' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/blocks/reviews/frontend-block.js">
|
|
<error line="21" column="12" severity="error" message="Generic type 'Array<T>' requires 1 type argument(s)." source="TS2314" />
|
|
<error line="41" column="17" severity="error" message="Property 'showOrderby' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="48" column="17" severity="error" message="Property 'showLoadMore' does not exist on type 'Object'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/blocks/reviews/frontend-container-block.js">
|
|
<error line="20" column="10" severity="error" message="A spread argument must either have a tuple type or be passed to a rest parameter." source="TS2556" />
|
|
<error line="42" column="19" severity="error" message="Parameter 'event' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="51" column="23" severity="error" message="Binding element 'newReviews' implicitly has an 'any' type." source="TS7031" />
|
|
</file>
|
|
<file name="assets/js/blocks/reviews/frontend.js">
|
|
<error line="17" column="20" severity="error" message="Parameter 'el' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/blocks/reviews/save.js">
|
|
<error line="12" column="20" severity="error" message="Binding element 'attributes' implicitly has an 'any' type." source="TS7031" />
|
|
</file>
|
|
<file name="assets/js/blocks/reviews/all-reviews/edit.js">
|
|
<error line="39" column="28" severity="error" message="Property 'showProductName' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="42" column="39" severity="error" message="Property 'showProductName' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="75" column="26" severity="error" message="Type '() => JSX.Element' is not assignable to type 'ReactElementLike'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/reviews/all-reviews/index.js">
|
|
<error line="21" column="20" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ 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<{ showProductName: unknown; editMode: unknown; imageType: unknown; orderby: unknown; reviewsOnLoadMore: unknown; reviewsOnPageLoad: unknown; showLoadMore: unknown; showOrderby: unknown; showReviewDate: unknown; showReviewerName: unknown; showReviewImage: unknown; showReviewRating: unknown; showRev...'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ showProductName: unknown; editMode: unknown; imageType: unknown; orderby: unknown; reviewsOnLoadMore: unknown; reviewsOnPageLoad: unknown; showLoadMore: unknown; showOrderby: unknown; showReviewDate: unknown; showReviewerName: unknown; showReviewImage: unknown; showReviewRating: unknown; showReviewConte...'." source="TS2769" />
|
|
<error line="71" column="18" severity="error" message="Property 'idBase' 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="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.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" />
|
|
<error line="52" column="20" severity="error" message="Parameter 'value' implicitly has an 'any[]' type." source="TS7006" />
|
|
<error line="68" column="28" severity="error" message="Property 'showProductName' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="71" column="39" severity="error" message="Property 'showProductName' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="123" column="29" severity="error" message="Property 'categoryIds' does not exist on type 'Object'." source="TS2339" />
|
|
<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.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...'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ 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: un...'.
|
|
Overload 2 of 2, '(name: string, settings: 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; }>): Block<...> | undefined', gave the following error.
|
|
Type '{ categoryIds: { type: "array"; default: never[]; }; showProductName: { type: "boolean"; default: true; }; editMode: { type: string; default: boolean; }; imageType: { type: string; default: string; }; orderby: { ...; }; ... 9 more ...; previewReviews: { ...; }; }' is not assignable to type '{ readonly categoryIds: BlockAttribute<unknown>; readonly showProductName: BlockAttribute<unknown>; readonly editMode: BlockAttribute<unknown>; readonly imageType: BlockAttribute<...>; ... 10 more ...; readonly previewReviews: BlockAttribute<...>; }'.
|
|
Types of property 'editMode' are incompatible.
|
|
Type '{ type: string; default: boolean; }' is not assignable to type 'BlockAttribute<unknown>'." source="TS2769" />
|
|
<error line="77" column="11" severity="error" message="Type '{ constructor: Function; toString(): string; toLocaleString(): string; valueOf(): Object; hasOwnProperty(v: PropertyKey): boolean; isPrototypeOf(v: Object): boolean; propertyIsEnumerable(v: PropertyKey): boolean; }' is missing the following properties from type 'Omit<{ attributes: Object; debouncedSpeak: (arg0: any) => any; setAttributes: (arg0: any) => any; }, "speak" | "debouncedSpeak">': attributes, setAttributes" source="TS2739" />
|
|
</file>
|
|
<file name="assets/js/blocks/reviews/reviews-by-product/no-reviews-placeholder.js">
|
|
<error line="11" column="34" severity="error" message="Binding element 'error' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="11" column="41" severity="error" message="Binding element 'getProduct' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="11" column="53" severity="error" message="Binding element 'isLoading' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="11" column="64" severity="error" message="Binding element 'product' implicitly has an 'any' type." source="TS7031" />
|
|
</file>
|
|
<file name="assets/js/blocks/reviews/reviews-by-product/edit.js">
|
|
<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 'productId' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="43" column="37" severity="error" message="Parameter 'args' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="82" column="29" severity="error" message="Property 'productId' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="83" column="7" severity="error" message="Type '{ selected: any; onChange: (value?: any[]) => void; renderItem: (args: any) => Element; isCompact: boolean; }' is not assignable to type 'IntrinsicAttributes & { selected: number[]; } & { children?: ReactNode; }'.
|
|
Property 'onChange' does not exist on type 'IntrinsicAttributes & { selected: number[]; } & { children?: ReactNode; }'." source="TS2322" />
|
|
<error line="83" column="20" severity="error" message="Parameter 'value' implicitly has an 'any[]' type." source="TS7006" />
|
|
<error line="142" column="29" severity="error" message="Property 'productId' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="143" column="7" severity="error" message="Type '{ selected: any; onChange: (value?: any[]) => void; queryArgs: { orderby: string; order: string; }; renderItem: (args: any) => Element; }' is not assignable to type 'IntrinsicAttributes & { selected: number[]; } & { children?: ReactNode; }'.
|
|
Property 'onChange' does not exist on type 'IntrinsicAttributes & { selected: number[]; } & { children?: ReactNode; }'." source="TS2322" />
|
|
<error line="143" column="20" severity="error" message="Parameter 'value' implicitly has an 'any[]' type." source="TS7006" />
|
|
<error line="186" column="5" severity="error" message="Type 'ComponentType<{ error: any; getProduct: any; isLoading: any; product: any; }>' is not assignable to type 'ReactElementLike'.
|
|
Type 'ComponentClass<{ error: any; getProduct: any; isLoading: any; product: any; }, any>' is missing the following properties from type 'ReactElementLike': type, props, key" source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/reviews/reviews-by-product/index.js">
|
|
<error line="19" column="1" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<{ productId: 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<{ productId: unknown; editMode: unknown; imageType: unknown; orderby: unknown; reviewsOnLoadMore: unknown; reviewsOnPageLoad: unknown; showLoadMore: unknown; showOrderby: unknown; showReviewDate: unknown; showReviewerName: unknown; showReviewImage: unknown; showReviewRating: unknown; showReviewCon...'.
|
|
Type 'string' is not assignable to type 'Pick<Block<{ productId: unknown; editMode: unknown; imageType: unknown; orderby: unknown; reviewsOnLoadMore: unknown; reviewsOnPageLoad: unknown; showLoadMore: unknown; showOrderby: unknown; showReviewDate: unknown; showReviewerName: unknown; showReviewImage: unknown; showReviewRating: unknown; showReviewContent: un...'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<{ productId: 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; }>): Block<...> | undefined', gave the following error.
|
|
Type '{ productId: { type: "number"; }; editMode: { type: string; default: boolean; }; imageType: { type: string; default: string; }; orderby: { type: string; default: string; }; reviewsOnLoadMore: { type: string; default: number; }; ... 8 more ...; previewReviews: { ...; }; }' is not assignable to type '{ readonly productId: BlockAttribute<unknown>; readonly editMode: BlockAttribute<unknown>; readonly imageType: BlockAttribute<unknown>; readonly orderby: BlockAttribute<unknown>; ... 9 more ...; readonly previewReviews: BlockAttribute<...>; }'.
|
|
Types of property 'editMode' are incompatible.
|
|
Type '{ type: string; default: boolean; }' is not assignable to type 'BlockAttribute<unknown>'." source="TS2769" />
|
|
<error line="68" column="11" severity="error" message="Type '{ constructor: Function; toString(): string; toLocaleString(): string; valueOf(): Object; hasOwnProperty(v: PropertyKey): boolean; isPrototypeOf(v: Object): boolean; propertyIsEnumerable(v: PropertyKey): boolean; }' is missing the following properties from type 'Omit<{ attributes: Object; debouncedSpeak: (arg0: any) => any; setAttributes: (arg0: any) => any; }, "speak" | "debouncedSpeak">': attributes, setAttributes" source="TS2739" />
|
|
</file>
|
|
<file name="assets/js/blocks/single-product/frontend.js">
|
|
<error line="18" column="20" severity="error" message="Parameter 'el' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="25" column="2" severity="error" message="Type 'ComponentType<BlockProps>' is not assignable to type 'FunctionComponent<{}>'.
|
|
Type 'ComponentClass<BlockProps, any>' is not assignable to type 'FunctionComponent<{}>'.
|
|
Type 'ComponentClass<BlockProps, any>' provides no match for the signature '(props: { children?: ReactNode; }, context?: any): ReactElement<any, any> | null'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/single-product/edit/api-error.js">
|
|
<error line="17" column="3" severity="error" message="Type 'string' is not assignable to type 'ErrorObject'." source="TS2322" />
|
|
<error line="19" column="3" severity="error" message="Type '(arg0: any) => any' is not assignable to type '() => void'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/blocks/single-product/edit/shared-product-control.js">
|
|
<error line="15" column="25" severity="error" message="Property 'productId' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="16" column="3" severity="error" message="Type '{ selected: any; showVariations: true; onChange: (value?: any[]) => void; }' is not assignable to type 'IntrinsicAttributes & { selected: number[]; } & { children?: ReactNode; }'.
|
|
Property 'showVariations' does not exist on type 'IntrinsicAttributes & { selected: number[]; } & { children?: ReactNode; }'." source="TS2322" />
|
|
<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="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="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="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" />
|
|
</file>
|
|
<file name="assets/js/blocks/stock-filter/index.tsx">
|
|
<error line="17" column="20" severity="error" message="No overload matches this call.
|
|
Overload 1 of 2, '(metadata: BlockConfiguration<Attributes>, settings?: Partial<BlockConfiguration<Attributes>> | undefined): Block<...> | undefined', gave the following error.
|
|
Argument of type '{ name: string; version: string; title: string; description: string; category: string; keywords: string[]; supports: { html: boolean; multiple: boolean; color: { link: boolean; __experimentalDefaultControls: { ...; }; }; inserter: boolean; lock: boolean; }; ... 4 more ...; $schema: string; }' is not assignable to parameter of type 'BlockConfiguration<Attributes>'.
|
|
Type '{ name: string; version: string; title: string; description: string; category: string; keywords: string[]; supports: { html: boolean; multiple: boolean; color: { link: boolean; __experimentalDefaultControls: { ...; }; }; inserter: boolean; lock: boolean; }; ... 4 more ...; $schema: string; }' is not assignable to type 'Partial<Omit<Block<Attributes>, "icon">>'.
|
|
Types of property 'attributes' are incompatible.
|
|
Property 'heading' is missing in type '{ className: { type: string; default: string; }; headingLevel: { type: string; default: number; }; showCounts: { type: string; default: boolean; }; showFilterButton: { type: string; default: boolean; }; isPreview: { ...; }; }' but required in type '{ readonly className?: BlockAttribute<string | undefined>; readonly heading: BlockAttribute<string>; readonly headingLevel: BlockAttribute<number>; readonly showCounts: BlockAttribute<...>; readonly showFilterButton: BlockAttribute<...>; readonly isPreview?: BlockAttribute<...>; }'.
|
|
Overload 2 of 2, '(name: string, settings: BlockConfiguration<Attributes>): Block<Attributes> | undefined', gave the following error.
|
|
Argument of type '{ name: string; version: string; title: string; description: string; category: string; keywords: string[]; supports: { html: boolean; multiple: boolean; color: { link: boolean; __experimentalDefaultControls: { ...; }; }; inserter: boolean; lock: boolean; }; ... 4 more ...; $schema: string; }' is not assignable to parameter of type 'string'." source="TS2769" />
|
|
</file>
|
|
<file name="assets/js/blocks/stock-filter/test/block.js">
|
|
<error line="46" column="28" severity="error" message="Parameter 'props' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/blocks-registry/block-components/test/index.js">
|
|
<error line="19" column="24" severity="error" message="Parameter 'args' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="49" column="24" severity="error" message="Parameter 'args' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="56" column="22" severity="error" message="Property 'toHaveWarned' does not exist on type 'JestMatchers<Console>'." source="TS2339" />
|
|
<error line="73" column="22" severity="error" message="Property 'toHaveWarned' does not exist on type 'JestMatchers<Console>'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/blocks-registry/payment-methods/test/payment-method-config-helper.ts">
|
|
<error line="84" column="28" severity="error" message="Property 'billingAddress' does not exist on type 'CanMakePaymentArgument'." source="TS2339" />
|
|
<error line="126" column="7" severity="error" message="Argument of type '{ cartTotals: { total_items: string; total_items_tax: string; total_fees: string; total_fees_tax: string; total_discount: string; total_discount_tax: string; total_shipping: string; total_shipping_tax: string; ... 9 more ...; currency_suffix: string; }; ... 4 more ...; paymentRequirements: string[]; }' is not assignable to parameter of type 'CanMakePaymentArgument'.
|
|
Type '{ cartTotals: { total_items: string; total_items_tax: string; total_fees: string; total_fees_tax: string; total_discount: string; total_discount_tax: string; total_shipping: string; total_shipping_tax: string; ... 9 more ...; currency_suffix: string; }; ... 4 more ...; paymentRequirements: string[]; }' is missing the following properties from type 'CanMakePaymentArgument': cart, billingData" source="TS2345" />
|
|
<error line="147" column="7" severity="error" message="Argument of type '{ cartTotals: { total_items: string; total_items_tax: string; total_fees: string; total_fees_tax: string; total_discount: string; total_discount_tax: string; total_shipping: string; total_shipping_tax: string; ... 9 more ...; currency_suffix: string; }; ... 4 more ...; paymentRequirements: string[]; }' is not assignable to parameter of type 'CanMakePaymentArgument'." source="TS2345" />
|
|
<error line="164" column="8" severity="error" message="Argument of type '{ cartTotals: { total_items: string; total_items_tax: string; total_fees: string; total_fees_tax: string; total_discount: string; total_discount_tax: string; total_shipping: string; total_shipping_tax: string; ... 9 more ...; currency_suffix: string; }; ... 4 more ...; paymentRequirements: string[]; }' is not assignable to parameter of type 'CanMakePaymentArgument'." source="TS2345" />
|
|
<error line="174" column="7" severity="error" message="Argument of type '{ cartTotals: { total_items: string; total_items_tax: string; total_fees: string; total_fees_tax: string; total_discount: string; total_discount_tax: string; total_shipping: string; total_shipping_tax: string; ... 9 more ...; currency_suffix: string; }; ... 4 more ...; paymentRequirements: string[]; }' is not assignable to parameter of type 'CanMakePaymentArgument'." source="TS2345" />
|
|
<error line="183" column="7" severity="error" message="Argument of type '{ cartTotals: { total_items: string; total_items_tax: string; total_fees: string; total_fees_tax: string; total_discount: string; total_discount_tax: string; total_shipping: string; total_shipping_tax: string; ... 9 more ...; currency_suffix: string; }; ... 4 more ...; paymentRequirements: string[]; }' is not assignable to parameter of type 'CanMakePaymentArgument'." source="TS2345" />
|
|
<error line="192" column="7" severity="error" message="Argument of type '{ cartTotals: { total_items: string; total_items_tax: string; total_fees: string; total_fees_tax: string; total_discount: string; total_discount_tax: string; total_shipping: string; total_shipping_tax: string; ... 9 more ...; currency_suffix: string; }; ... 4 more ...; paymentRequirements: string[]; }' is not assignable to parameter of type 'CanMakePaymentArgument'." source="TS2345" />
|
|
<error line="203" column="7" severity="error" message="Argument of type '{ cartTotals: { total_items: string; total_items_tax: string; total_fees: string; total_fees_tax: string; total_discount: string; total_discount_tax: string; total_shipping: string; total_shipping_tax: string; ... 9 more ...; currency_suffix: string; }; ... 4 more ...; paymentRequirements: string[]; }' is not assignable to parameter of type 'CanMakePaymentArgument'." source="TS2345" />
|
|
<error line="204" column="22" severity="error" message="Property 'toHaveErrored' does not exist on type 'JestMatchers<Console>'." source="TS2339" />
|
|
<error line="214" column="7" severity="error" message="Argument of type '{ cartTotals: { total_items: string; total_items_tax: string; total_fees: string; total_fees_tax: string; total_discount: string; total_discount_tax: string; total_shipping: string; total_shipping_tax: string; ... 9 more ...; currency_suffix: string; }; ... 4 more ...; paymentRequirements: string[]; }' is not assignable to parameter of type 'CanMakePaymentArgument'." source="TS2345" />
|
|
<error line="215" column="26" severity="error" message="Property 'toHaveErrored' does not exist on type 'Matchers<void, Console>'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/blocks-registry/payment-methods/test/registry.ts">
|
|
<error line="21" column="25" severity="error" message="Property 'toHaveErrored' does not exist on type 'Matchers<void, Console>'." source="TS2339" />
|
|
<error line="28" column="21" severity="error" message="Property 'toHaveErrored' does not exist on type 'JestMatchers<Console>'." source="TS2339" />
|
|
<error line="44" column="25" severity="error" message="Property 'toHaveErrored' does not exist on type 'Matchers<void, Console>'." source="TS2339" />
|
|
<error line="63" column="5" severity="error" message="Type 'boolean' is not assignable to type 'CanMakePaymentExtensionCallback'." source="TS2322" />
|
|
<error line="69" column="21" severity="error" message="Property 'toHaveErrored' does not exist on type 'JestMatchers<Console>'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/data/cart/test/reducers.js">
|
|
<error line="4" column="24" severity="error" message="Could not find a declaration file for module 'deep-freeze'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/deep-freeze/index.js' implicitly has an 'any' type.
|
|
Try `npm i --save-dev @types/deep-freeze` if it exists or add a new declaration (.d.ts) file containing `declare module 'deep-freeze';`" source="TS7016" />
|
|
</file>
|
|
<file name="assets/js/data/cart/test/resolvers.js">
|
|
<error line="12" column="7" severity="error" message="Variable 'fulfillment' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="19" column="5" severity="error" message="Variable 'fulfillment' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="20" column="23" severity="error" message="Variable 'fulfillment' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="37" column="7" severity="error" message="Type '{}' is missing the following properties from type 'CartResponseTotals': total_items, total_items_tax, total_fees, total_fees_tax, and 14 more." source="TS2740" />
|
|
<error line="40" column="22" severity="error" message="Variable 'fulfillment' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="46" column="7" severity="error" message="Variable 'fulfillment' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="53" column="5" severity="error" message="Variable 'fulfillment' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="54" column="23" severity="error" message="Variable 'fulfillment' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="56" column="22" severity="error" message="Variable 'fulfillment' implicitly has an 'any' type." source="TS7005" />
|
|
</file>
|
|
<file name="assets/js/data/cart/test/selectors.js">
|
|
<error line="156" column="24" severity="error" message="Argument of type '{ cartData: { coupons: { code: string; totals: { currency_code: string; currency_symbol: string; currency_minor_unit: number; currency_decimal_separator: string; currency_thousand_separator: string; currency_prefix: string; currency_suffix: string; total_discount: string; total_discount_tax: string; }; }[]; ... 5 mo...' is not assignable to parameter of type 'CartState'.
|
|
Type '{ cartData: { coupons: { code: string; totals: { currency_code: string; currency_symbol: string; currency_minor_unit: number; currency_decimal_separator: string; currency_thousand_separator: string; currency_prefix: string; currency_suffix: string; total_discount: string; total_discount_tax: string; }; }[]; ... 5 mo...' is missing the following properties from type 'CartState': cartItemsPendingQuantity, cartItemsPendingDelete" source="TS2345" />
|
|
<error line="162" column="26" severity="error" message="Argument of type '{ cartData: { coupons: { code: string; totals: { currency_code: string; currency_symbol: string; currency_minor_unit: number; currency_decimal_separator: string; currency_thousand_separator: string; currency_prefix: string; currency_suffix: string; total_discount: string; total_discount_tax: string; }; }[]; ... 5 mo...' is not assignable to parameter of type 'CartState'." source="TS2345" />
|
|
<error line="168" column="24" severity="error" message="Argument of type '{ cartData: { coupons: { code: string; totals: { currency_code: string; currency_symbol: string; currency_minor_unit: number; currency_decimal_separator: string; currency_thousand_separator: string; currency_prefix: string; currency_suffix: string; total_discount: string; total_discount_tax: string; }; }[]; ... 5 mo...' is not assignable to parameter of type 'CartState'." source="TS2345" />
|
|
<error line="174" column="26" severity="error" message="Argument of type '{ cartData: { coupons: { code: string; totals: { currency_code: string; currency_symbol: string; currency_minor_unit: number; currency_decimal_separator: string; currency_thousand_separator: string; currency_prefix: string; currency_suffix: string; total_discount: string; total_discount_tax: string; }; }[]; ... 5 mo...' is not assignable to parameter of type 'CartState'." source="TS2345" />
|
|
<error line="180" column="29" severity="error" message="Argument of type '{ cartData: { coupons: { code: string; totals: { currency_code: string; currency_symbol: string; currency_minor_unit: number; currency_decimal_separator: string; currency_thousand_separator: string; currency_prefix: string; currency_suffix: string; total_discount: string; total_discount_tax: string; }; }[]; ... 5 mo...' is not assignable to parameter of type 'CartState'." source="TS2345" />
|
|
<error line="186" column="34" severity="error" message="Argument of type '{ cartData: { coupons: { code: string; totals: { currency_code: string; currency_symbol: string; currency_minor_unit: number; currency_decimal_separator: string; currency_thousand_separator: string; currency_prefix: string; currency_suffix: string; total_discount: string; total_discount_tax: string; }; }[]; ... 5 mo...' is not assignable to parameter of type 'CartState'." source="TS2345" />
|
|
<error line="194" column="29" severity="error" message="Argument of type '{ cartData: { coupons: { code: string; totals: { currency_code: string; currency_symbol: string; currency_minor_unit: number; currency_decimal_separator: string; currency_thousand_separator: string; currency_prefix: string; currency_suffix: string; total_discount: string; total_discount_tax: string; }; }[]; ... 5 mo...' is not assignable to parameter of type 'CartState'." source="TS2345" />
|
|
<error line="200" column="34" severity="error" message="Argument of type '{ cartData: { coupons: { code: string; totals: { currency_code: string; currency_symbol: string; currency_minor_unit: number; currency_decimal_separator: string; currency_thousand_separator: string; currency_prefix: string; currency_suffix: string; total_discount: string; total_discount_tax: string; }; }[]; ... 5 mo...' is not assignable to parameter of type 'CartState'." source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/data/collections/test/reducers.js">
|
|
<error line="4" column="24" severity="error" message="Could not find a declaration file for module 'deep-freeze'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/deep-freeze/index.js' implicitly has an 'any' type.
|
|
Try `npm i --save-dev @types/deep-freeze` if it exists or add a new declaration (.d.ts) file containing `declare module 'deep-freeze';`" source="TS7016" />
|
|
<error line="61" column="5" severity="error" message="Element implicitly has an 'any' type because expression of type '"wc/blocks"' can't be used to index type 'Object'.
|
|
Property 'wc/blocks' does not exist on type 'Object'." source="TS7053" />
|
|
<error line="79" column="4" severity="error" message="Element implicitly has an 'any' type because expression of type '"wc/blocks"' can't be used to index type 'Object'.
|
|
Property 'wc/blocks' does not exist on type 'Object'." source="TS7053" />
|
|
<error line="94" column="4" severity="error" message="Element implicitly has an 'any' type because expression of type '"wc/blocks"' can't be used to index type 'Object'.
|
|
Property 'wc/blocks' does not exist on type 'Object'." source="TS7053" />
|
|
</file>
|
|
<file name="assets/js/data/collections/test/resolvers.js">
|
|
<error line="4" column="10" severity="error" message="Module '"@wordpress/data"' has no exported member 'controls'." source="TS2305" />
|
|
<error line="19" column="7" severity="error" message="Variable 'fulfillment' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="26" column="55" severity="error" message="A spread argument must either have a tuple type or be passed to a rest parameter." source="TS2556" />
|
|
<error line="29" column="4" severity="error" message="Variable 'fulfillment' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="42" column="23" severity="error" message="Variable 'fulfillment' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="51" column="19" severity="error" message="Type 'undefined' is not assignable to type 'string | null'." source="TS2322" />
|
|
<error line="52" column="19" severity="error" message="Type 'undefined' is not assignable to type 'boolean'." source="TS2322" />
|
|
<error line="64" column="22" severity="error" message="Variable 'fulfillment' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="73" column="5" severity="error" message="Variable 'fulfillment' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="74" column="23" severity="error" message="Variable 'fulfillment' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="86" column="23" severity="error" message="Variable 'fulfillment' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="93" column="20" severity="error" message="Type 'undefined' is not assignable to type 'Headers'." source="TS2322" />
|
|
<error line="103" column="5" severity="error" message="Variable 'fulfillment' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="104" column="5" severity="error" message="Variable 'fulfillment' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="105" column="23" severity="error" message="Variable 'fulfillment' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="117" column="19" severity="error" message="Type '{ foo: string; }' is not assignable to type 'Headers'.
|
|
Object literal may only specify known properties, and 'foo' does not exist in type 'Headers'." source="TS2322" />
|
|
<error line="121" column="22" severity="error" message="Variable 'fulfillment' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="129" column="6" severity="error" message="Variable 'fulfillment' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="130" column="19" severity="error" message="Rest parameter 'testArgs' implicitly has an 'any[]' type." source="TS7019" />
|
|
<error line="131" column="40" severity="error" message="A spread argument must either have a tuple type or be passed to a rest parameter." source="TS2556" />
|
|
<error line="134" column="21" severity="error" message="Variable 'fulfillment' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="153" column="21" severity="error" message="Variable 'fulfillment' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="163" column="20" severity="error" message="Variable 'fulfillment' implicitly has an 'any' type." source="TS7005" />
|
|
</file>
|
|
<file name="assets/js/data/collections/test/selectors.js">
|
|
<error line="6" column="25" severity="error" message="Parameter 'total' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="9" column="10" severity="error" message="Parameter 'key' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="9" column="19" severity="error" message="Element implicitly has an 'any' type because expression of type 'any' can't be used to index type '{ total: any; }'." source="TS7053" />
|
|
<error line="10" column="10" severity="error" message="Parameter 'key' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="10" column="22" severity="error" message="Element implicitly has an 'any' type because expression of type 'any' can't be used to index type '{ total: any; }'." source="TS7053" />
|
|
<error line="94" column="6" severity="error" message="Argument of type '{ 'wc/blocks': { products: { '[]': { '?someQuery=2': { items: string[]; headers: { get: (key: any) => any; has: (key: any) => boolean; }; }; }; }; 'products/attributes': { '[10]': { '?someQuery=2': { items: string[]; headers: { get: (key: any) => any; has: (key: any) => boolean; }; }; }; }; 'products/attributes/term...' is not assignable to parameter of type 'string'." source="TS2345" />
|
|
<error line="106" column="11" severity="error" message="Expected 4-6 arguments, but got 3." source="TS2554" />
|
|
<error line="112" column="25" severity="error" message="Argument of type '{ 'wc/blocks': { products: { '[]': { '?someQuery=2': { items: string[]; headers: { get: (key: any) => any; has: (key: any) => boolean; }; }; }; }; 'products/attributes': { '[10]': { '?someQuery=2': { items: string[]; headers: { get: (key: any) => any; has: (key: any) => boolean; }; }; }; }; 'products/attributes/term...' is not assignable to parameter of type 'string'." source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/data/payment/test/reducers.js">
|
|
<error line="4" column="24" severity="error" message="Could not find a declaration file for module 'deep-freeze'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/deep-freeze/index.js' implicitly has an 'any' type.
|
|
Try `npm i --save-dev @types/deep-freeze` if it exists or add a new declaration (.d.ts) file containing `declare module 'deep-freeze';`" source="TS7016" />
|
|
</file>
|
|
<file name="assets/js/data/payment/test/selectors.js">
|
|
<error line="32" column="7" severity="error" message="This condition will always return 'false' since the types '"core/editor"' and '"wc/store/cart"' have no overlap." source="TS2367" />
|
|
<error line="54" column="17" severity="error" message="Parameter 'setting' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="54" column="26" severity="error" message="Rest parameter 'rest' implicitly has an 'any[]' type." source="TS7019" />
|
|
<error line="161" column="41" severity="error" message="Property 'invalidateResolutionForStore' does not exist on type 'DispatchFromMap<typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/data/cart/actions")>'." source="TS2339" />
|
|
<error line="164" column="19" severity="error" message="Argument of type 'Cart' is not assignable to parameter of type 'CartResponse'." source="TS2345" />
|
|
<error line="243" column="41" severity="error" message="Property 'invalidateResolutionForStore' does not exist on type 'DispatchFromMap<typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/assets/js/data/cart/actions")>'." source="TS2339" />
|
|
<error line="246" column="19" severity="error" message="Argument of type 'Cart' is not assignable to parameter of type 'CartResponse'." source="TS2345" />
|
|
<error line="270" column="33" severity="error" message="Type '{ onChange: () => undefined; }' is not assignable to type 'IntrinsicAttributes'.
|
|
Property 'onChange' does not exist on type 'IntrinsicAttributes'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/data/payment/test/set-default-payment-method.ts">
|
|
<error line="35" column="10" severity="error" message="This condition will always return 'false' since the types '"core/editor"' and '"wc/store/payment"' have no overlap." source="TS2367" />
|
|
<error line="60" column="10" severity="error" message="This condition will always return 'false' since the types '"core/editor"' and '"wc/store/payment"' have no overlap." source="TS2367" />
|
|
<error line="79" column="10" severity="error" message="This condition will always return 'false' since the types '"core/editor"' and '"wc/store/payment"' have no overlap." source="TS2367" />
|
|
<error line="123" column="10" severity="error" message="This condition will always return 'false' since the types '"core/editor"' and '"wc/store/payment"' have no overlap." source="TS2367" />
|
|
</file>
|
|
<file name="assets/js/data/query-state/test/reducers.js">
|
|
<error line="4" column="24" severity="error" message="Could not find a declaration file for module 'deep-freeze'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/deep-freeze/index.js' implicitly has an 'any' type.
|
|
Try `npm i --save-dev @types/deep-freeze` if it exists or add a new declaration (.d.ts) file containing `declare module 'deep-freeze';`" source="TS7016" />
|
|
</file>
|
|
<file name="assets/js/data/query-state/test/selectors.js">
|
|
<error line="4" column="24" severity="error" message="Could not find a declaration file for module 'deep-freeze'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/deep-freeze/index.js' implicitly has an 'any' type.
|
|
Try `npm i --save-dev @types/deep-freeze` if it exists or add a new declaration (.d.ts) file containing `declare module 'deep-freeze';`" source="TS7016" />
|
|
</file>
|
|
<file name="assets/js/data/schema/test/reducers.js">
|
|
<error line="4" column="24" severity="error" message="Could not find a declaration file for module 'deep-freeze'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/deep-freeze/index.js' implicitly has an 'any' type.
|
|
Try `npm i --save-dev @types/deep-freeze` if it exists or add a new declaration (.d.ts) file containing `declare module 'deep-freeze';`" source="TS7016" />
|
|
</file>
|
|
<file name="assets/js/data/schema/test/resolvers.js">
|
|
<error line="5" column="10" severity="error" message="Module '"@wordpress/data"' has no exported member 'controls'." source="TS2305" />
|
|
<error line="32" column="7" severity="error" message="Variable 'fulfillment' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="36" column="4" severity="error" message="Variable 'fulfillment' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="45" column="22" severity="error" message="Variable 'fulfillment' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="52" column="4" severity="error" message="Variable 'fulfillment' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="53" column="22" severity="error" message="Variable 'fulfillment' implicitly has an 'any' type." source="TS7005" />
|
|
</file>
|
|
<file name="assets/js/data/schema/test/selectors.js">
|
|
<error line="4" column="24" severity="error" message="Could not find a declaration file for module 'deep-freeze'. '/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/deep-freeze/index.js' implicitly has an 'any' type.
|
|
Try `npm i --save-dev @types/deep-freeze` if it exists or add a new declaration (.d.ts) file containing `declare module 'deep-freeze';`" source="TS7016" />
|
|
<error line="14" column="28" severity="error" message="Parameter 'callback' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="38" column="5" severity="error" message="Parameter 'namespace' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="38" column="16" severity="error" message="Parameter 'resourceName' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="38" column="30" severity="error" message="Parameter 'ids' implicitly has an 'any[]' type." source="TS7006" />
|
|
<error line="40" column="32" severity="error" message="Expected 1 arguments, but got 4." source="TS2554" />
|
|
<error line="94" column="23" severity="error" message="Parameter 'namespace' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="95" column="32" severity="error" message="Expected 1 arguments, but got 2." source="TS2554" />
|
|
</file>
|
|
<file name="assets/js/editor-components/error-placeholder/stories/error-placeholder.tsx">
|
|
<error line="33" column="4" severity="error" message="Type '{ onRetry: (() => void) | undefined; isLoading: any; className?: string; error: ErrorObject; }' is not assignable to type 'ErrorPlaceholderProps' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
|
Types of property 'onRetry' are incompatible.
|
|
Type '(() => void) | undefined' is not assignable to type '() => void'.
|
|
Type 'undefined' is not assignable to type '() => void'." source="TS2375" />
|
|
<error line="67" column="10" severity="error" message="Type '{ onRetry: undefined; className?: string; error: ErrorObject; isLoading: boolean; }' is not assignable to type 'ErrorPlaceholderProps' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
|
Types of property 'onRetry' are incompatible.
|
|
Type 'undefined' is not assignable to type '() => void'." source="TS2375" />
|
|
</file>
|
|
<file name="assets/js/editor-components/expandable-search-list-item/expandable-search-list-item.tsx">
|
|
<error line="37" column="5" severity="error" message="Type 'SearchListItem' is missing the following properties from type 'SearchListItemType': name, value, parent, count, and 2 more." source="TS2740" />
|
|
<error line="38" column="5" severity="error" message="Type '() => void' is not assignable to type '(item: SearchListItemType) => () => void'.
|
|
Type 'void' is not assignable to type '() => void'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/editor-components/search-list-control/test/hierarchy.js">
|
|
<error line="24" column="4" severity="error" message="Type '{ id: number; name: string; parent: number; }' is missing the following properties from type 'SearchListItemType': value, count, children, breadcrumbs" source="TS2739" />
|
|
<error line="25" column="4" severity="error" message="Type '{ id: number; name: string; parent: number; }' is missing the following properties from type 'SearchListItemType': value, count, children, breadcrumbs" source="TS2739" />
|
|
<error line="46" column="32" severity="error" message="Argument of type '{ id: number; name: string; parent: number; }[]' is not assignable to parameter of type 'SearchListItemsType'.
|
|
Type '{ id: number; name: string; parent: number; }[]' is not assignable to type 'SearchListItemType[]'.
|
|
Type '{ id: number; name: string; parent: number; }' is missing the following properties from type 'SearchListItemType': value, count, children, breadcrumbs" source="TS2345" />
|
|
<error line="115" column="32" severity="error" message="Argument of type '{ id: number; name: string; parent: number; }[]' is not assignable to parameter of type 'SearchListItemsType'.
|
|
Type '{ id: number; name: string; parent: number; }[]' is not assignable to type 'SearchListItemType[]'.
|
|
Type '{ id: number; name: string; parent: number; }' is missing the following properties from type 'SearchListItemType': value, count, children, breadcrumbs" source="TS2345" />
|
|
<error line="164" column="32" severity="error" message="Argument of type '{ id: number; name: string; parent: number; }[]' is not assignable to parameter of type 'SearchListItemsType'.
|
|
Type '{ id: number; name: string; parent: number; }[]' is not assignable to type 'SearchListItemType[]'.
|
|
Type '{ id: number; name: string; parent: number; }' is missing the following properties from type 'SearchListItemType': value, count, children, breadcrumbs" source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/editor-components/search-list-control/test/index.js">
|
|
<error line="40" column="5" severity="error" message="Type '{ id: number; name: string; }[]' is not assignable to type 'SearchListItemsType'.
|
|
Type '{ id: number; name: string; }[]' is not assignable to type 'SearchListItemType[]'.
|
|
Type '{ id: number; name: string; }' is missing the following properties from type 'SearchListItemType': value, parent, count, children, breadcrumbs" source="TS2322" />
|
|
<error line="53" column="5" severity="error" message="Type '{ id: number; name: string; }[]' is not assignable to type 'SearchListItemsType'." source="TS2322" />
|
|
<error line="65" column="5" severity="error" message="Type '{ id: number; name: string; }[]' is not assignable to type 'SearchListItemsType'." source="TS2322" />
|
|
<error line="66" column="18" severity="error" message="Type '{ id: number; name: string; }' is not assignable to type 'SearchListItemType'." source="TS2322" />
|
|
<error line="77" column="5" severity="error" message="Type '{ id: number; name: string; }[]' is not assignable to type 'SearchListItemsType'." source="TS2322" />
|
|
<error line="78" column="18" severity="error" message="Type '{ id: number; name: string; }' is not assignable to type 'SearchListItemType'." source="TS2322" />
|
|
<error line="78" column="29" severity="error" message="Type '{ id: number; name: string; }' is not assignable to type 'SearchListItemType'." source="TS2322" />
|
|
<error line="88" column="5" severity="error" message="Type '{ instanceId: number; list: []; selected: []; onChange: (...args: any[]) => void; }' is not assignable to type 'IntrinsicAttributes & SearchListControlProps'.
|
|
Property 'instanceId' does not exist on type 'IntrinsicAttributes & SearchListControlProps'." source="TS2322" />
|
|
<error line="101" column="5" severity="error" message="Type '{ id: number; name: string; }[]' is not assignable to type 'SearchListItemsType'." source="TS2322" />
|
|
<error line="115" column="5" severity="error" message="Type '{ id: number; name: string; }[]' is not assignable to type 'SearchListItemsType'." source="TS2322" />
|
|
<error line="123" column="4" severity="error" message="Argument of type 'Element | null' is not assignable to parameter of type 'Document | Node | Element | Window'.
|
|
Type 'null' is not assignable to type 'Document | Node | Element | Window'." source="TS2345" />
|
|
<error line="143" column="5" severity="error" message="Type '{ id: number; name: string; }[]' is not assignable to type 'SearchListItemsType'." source="TS2322" />
|
|
<error line="151" column="4" severity="error" message="Argument of type 'Element | null' is not assignable to parameter of type 'Document | Node | Element | Window'." source="TS2345" />
|
|
<error line="166" column="5" severity="error" message="Type '{ id: number; name: string; }[]' is not assignable to type 'SearchListItemsType'." source="TS2322" />
|
|
<error line="181" column="5" severity="error" message="Type '{ id: number; name: string; }[]' is not assignable to type 'SearchListItemsType'." source="TS2322" />
|
|
<error line="191" column="26" severity="error" message="Binding element 'item' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="197" column="5" severity="error" message="Type '{ id: number; name: string; }[]' is not assignable to type 'SearchListItemsType'." source="TS2322" />
|
|
<error line="210" column="5" severity="error" message="Type '{ id: number; name: string; parent: number; }[]' is not assignable to type 'SearchListItemsType'.
|
|
Type '{ id: number; name: string; parent: number; }[]' is not assignable to type 'SearchListItemType[]'.
|
|
Type '{ id: number; name: string; parent: number; }' is missing the following properties from type 'SearchListItemType': value, count, children, breadcrumbs" source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/editor-components/tag/test/index.js">
|
|
<error line="15" column="30" severity="error" message="Property 'id' is missing in type '{ label: string; }' but required in type '{ className?: string; id: string | number; label: string; popoverContents?: Element; remove?: (id: string | number) => () => void; screenReaderLabel?: string; }'." source="TS2741" />
|
|
<error line="20" column="46" severity="error" message="Type '() => void' is not assignable to type '(id: string | number) => () => void'.
|
|
Type 'void' is not assignable to type '() => void'." source="TS2322" />
|
|
<error line="26" column="5" severity="error" message="Property 'id' is missing in type '{ label: string; popoverContents: Element; }' but required in type '{ className?: string; id: string | number; label: string; popoverContents?: Element; remove?: (id: string | number) => () => void; screenReaderLabel?: string; }'." source="TS2741" />
|
|
<error line="33" column="5" severity="error" message="Property 'id' is missing in type '{ label: string; screenReaderLabel: string; }' but required in type '{ className?: string; id: string | number; label: string; popoverContents?: Element; remove?: (id: string | number) => () => void; screenReaderLabel?: string; }'." source="TS2741" />
|
|
</file>
|
|
<file name="assets/js/editor-components/view-switcher/index.js">
|
|
<error line="17" column="2" severity="error" message="Binding element 'className' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="19" column="2" severity="error" message="Binding element 'views' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="20" column="2" severity="error" message="Binding element 'defaultView' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="21" column="2" severity="error" message="Binding element 'instanceId' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="22" column="2" severity="error" message="Binding element 'render' implicitly has an 'any' type." source="TS7031" />
|
|
<error line="38" column="21" severity="error" message="Parameter 'view' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="assets/js/extensions/google-analytics/utils.ts">
|
|
<error line="10" column="34" severity="error" message="Cannot find namespace 'Gtag'." source="TS2503" />
|
|
<error line="22" column="4" severity="error" message="Cannot find namespace 'Gtag'." source="TS2503" />
|
|
<error line="54" column="3" severity="error" message="Type '{ id: string; name: string; list_name: string; category: string; price: string; }' is not assignable to type 'ImpressionItem'.
|
|
Object literal may only specify known properties, and 'id' does not exist in type 'ImpressionItem'." source="TS2322" />
|
|
<error line="69" column="13" severity="error" message="Cannot find namespace 'Gtag'." source="TS2503" />
|
|
<error line="70" column="16" severity="error" message="Cannot find namespace 'Gtag'." source="TS2503" />
|
|
<error line="70" column="37" severity="error" message="Cannot find namespace 'Gtag'." source="TS2503" />
|
|
<error line="70" column="56" severity="error" message="Cannot find namespace 'Gtag'." source="TS2503" />
|
|
<error line="72" column="14" severity="error" message="Cannot find name 'gtag'." source="TS2304" />
|
|
<error line="77" column="9" severity="error" message="Property 'gtag' does not exist on type 'Window & typeof globalThis'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/hocs/test/with-categories.js">
|
|
<error line="31" column="4" severity="error" message="Type '{ error: any; isLoading: any; categories: any; }' is not assignable to type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.
|
|
Property 'error' does not exist on type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'." source="TS2322" />
|
|
<error line="31" column="18" severity="error" message="Property 'error' does not exist on type '{ children?: ReactNode; }'." source="TS2339" />
|
|
<error line="32" column="22" severity="error" message="Property 'isLoading' does not exist on type '{ children?: ReactNode; }'." source="TS2339" />
|
|
<error line="33" column="23" severity="error" message="Property 'categories' does not exist on type '{ children?: ReactNode; }'." source="TS2339" />
|
|
<error line="42" column="6" severity="error" message="Variable 'renderer' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="44" column="27" severity="error" message="Property 'mockReset' does not exist on type '(queryArgs: Object) => Promise<any>'." source="TS2339" />
|
|
<error line="49" column="28" severity="error" message="Property 'mockImplementation' does not exist on type '(queryArgs: Object) => Promise<any>'." source="TS2339" />
|
|
<error line="63" column="28" severity="error" message="Property 'mockImplementation' does not exist on type '(queryArgs: Object) => Promise<any>'." source="TS2339" />
|
|
<error line="70" column="18" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="84" column="28" severity="error" message="Property 'mockImplementation' does not exist on type '(queryArgs: Object) => Promise<any>'." source="TS2339" />
|
|
<error line="87" column="30" severity="error" message="Property 'mockImplementation' does not exist on type '(error: { json?: Function | undefined; message?: string | undefined; type?: string | undefined; }) => Promise<{ message: string; type: string; }>'." source="TS2339" />
|
|
<error line="94" column="24" severity="error" message="This expression is not callable.
|
|
Type 'Promise<never>' has no call signatures." source="TS2349" />
|
|
<error line="97" column="18" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
</file>
|
|
<file name="assets/js/hocs/test/with-category.js">
|
|
<error line="29" column="4" severity="error" message="Type '{ error: any; getCategory: any; isLoading: any; category: any; }' is not assignable to type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.
|
|
Property 'error' does not exist on type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'." source="TS2322" />
|
|
<error line="29" column="18" severity="error" message="Property 'error' does not exist on type '{ children?: ReactNode; }'." source="TS2339" />
|
|
<error line="30" column="24" severity="error" message="Property 'getCategory' does not exist on type '{ children?: ReactNode; }'." source="TS2339" />
|
|
<error line="31" column="22" severity="error" message="Property 'isLoading' does not exist on type '{ children?: ReactNode; }'." source="TS2339" />
|
|
<error line="32" column="21" severity="error" message="Property 'category' does not exist on type '{ children?: ReactNode; }'." source="TS2339" />
|
|
<error line="37" column="45" severity="error" message="Type '{ attributes: { categoryId: number; }; }' is not assignable to type 'IntrinsicAttributes & { children?: ReactNode; }'.
|
|
Property 'attributes' does not exist on type 'IntrinsicAttributes & { children?: ReactNode; }'." source="TS2322" />
|
|
<error line="41" column="6" severity="error" message="Variable 'renderer' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="43" column="25" severity="error" message="Property 'mockReset' does not exist on type '(categoryId: number) => Promise<any>'." source="TS2339" />
|
|
<error line="48" column="26" severity="error" message="Property 'mockImplementation' does not exist on type '(categoryId: number) => Promise<any>'." source="TS2339" />
|
|
<error line="62" column="4" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="62" column="36" severity="error" message="Type '{ attributes: { categoryId: number; }; }' is not assignable to type 'IntrinsicAttributes & { children?: ReactNode; }'.
|
|
Property 'attributes' does not exist on type 'IntrinsicAttributes & { children?: ReactNode; }'." source="TS2322" />
|
|
<error line="73" column="18" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="83" column="26" severity="error" message="Property 'mockImplementation' does not exist on type '(categoryId: number) => Promise<any>'." source="TS2339" />
|
|
<error line="83" column="48" severity="error" message="Parameter 'categoryId' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="90" column="18" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="108" column="26" severity="error" message="Property 'mockImplementation' does not exist on type '(categoryId: number) => Promise<any>'." source="TS2339" />
|
|
<error line="111" column="30" severity="error" message="Property 'mockImplementation' does not exist on type '(error: { json?: Function | undefined; message?: string | undefined; type?: string | undefined; }) => Promise<{ message: string; type: string; }>'." source="TS2339" />
|
|
<error line="118" column="24" severity="error" message="This expression is not callable.
|
|
Type 'Promise<never>' has no call signatures." source="TS2349" />
|
|
<error line="121" column="18" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
</file>
|
|
<file name="assets/js/hocs/test/with-product-variations.js">
|
|
<error line="35" column="4" severity="error" message="Type '{ error: any; expandedProduct: any; isLoading: any; variations: any; variationsLoading: any; }' is not assignable to type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.
|
|
Property 'error' does not exist on type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'." source="TS2322" />
|
|
<error line="35" column="18" severity="error" message="Property 'error' does not exist on type '{ children?: ReactNode; }'." source="TS2339" />
|
|
<error line="36" column="28" severity="error" message="Property 'expandedProduct' does not exist on type '{ children?: ReactNode; }'." source="TS2339" />
|
|
<error line="37" column="22" severity="error" message="Property 'isLoading' does not exist on type '{ children?: ReactNode; }'." source="TS2339" />
|
|
<error line="38" column="23" severity="error" message="Property 'variations' does not exist on type '{ children?: ReactNode; }'." source="TS2339" />
|
|
<error line="39" column="30" severity="error" message="Property 'variationsLoading' does not exist on type '{ children?: ReactNode; }'." source="TS2339" />
|
|
<error line="46" column="4" severity="error" message="Type '{ error: null; isLoading: boolean; products: ({ id: number; name: string; variations: { id: number; }[]; } | { id: number; name: string; variations?: never; })[]; selected: number[]; showVariations: boolean; }' is not assignable to type 'IntrinsicAttributes & { children?: ReactNode; }'.
|
|
Property 'error' does not exist on type 'IntrinsicAttributes & { children?: ReactNode; }'." source="TS2322" />
|
|
<error line="56" column="6" severity="error" message="Variable 'renderer' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="58" column="34" severity="error" message="Property 'mockReset' does not exist on type '(product: number) => Promise<any>'." source="TS2339" />
|
|
<error line="63" column="35" severity="error" message="Property 'mockImplementation' does not exist on type '(product: number) => Promise<any>'." source="TS2339" />
|
|
<error line="79" column="6" severity="error" message="Type '{ error: null; isLoading: boolean; products: ({ id: number; name: string; variations: { id: number; }[]; } | { id: number; name: string; variations?: never; })[]; }' is not assignable to type 'IntrinsicAttributes & { children?: ReactNode; }'.
|
|
Property 'error' does not exist on type 'IntrinsicAttributes & { children?: ReactNode; }'." source="TS2322" />
|
|
<error line="90" column="6" severity="error" message="Type '{ error: null; isLoading: boolean; products: ({ id: number; name: string; variations: { id: number; }[]; } | { id: number; name: string; variations?: never; })[]; selected: number[]; showVariations: boolean; }' is not assignable to type 'IntrinsicAttributes & { children?: ReactNode; }'.
|
|
Property 'error' does not exist on type 'IntrinsicAttributes & { children?: ReactNode; }'." source="TS2322" />
|
|
<error line="105" column="6" severity="error" message="Type '{ error: null; isLoading: boolean; products: ({ id: number; name: string; variations: { id: number; }[]; } | { id: number; name: string; variations?: never; })[]; selected: number[]; showVariations: boolean; }' is not assignable to type 'IntrinsicAttributes & { children?: ReactNode; }'.
|
|
Property 'error' does not exist on type 'IntrinsicAttributes & { children?: ReactNode; }'." source="TS2322" />
|
|
<error line="120" column="6" severity="error" message="Type '{ error: null; isLoading: boolean; products: ({ id: number; name: string; variations: { id: number; }[]; } | { id: number; name: string; variations?: never; })[]; selected: number[]; showVariations: boolean; }' is not assignable to type 'IntrinsicAttributes & { children?: ReactNode; }'.
|
|
Property 'error' does not exist on type 'IntrinsicAttributes & { children?: ReactNode; }'." source="TS2322" />
|
|
<error line="136" column="35" severity="error" message="Property 'mockImplementation' does not exist on type '(product: number) => Promise<any>'." source="TS2339" />
|
|
<error line="143" column="18" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="163" column="35" severity="error" message="Property 'mockImplementation' does not exist on type '(product: number) => Promise<any>'." source="TS2339" />
|
|
<error line="166" column="30" severity="error" message="Property 'mockImplementation' does not exist on type '(error: { json?: Function | undefined; message?: string | undefined; type?: string | undefined; }) => Promise<{ message: string; type: string; }>'." source="TS2339" />
|
|
<error line="173" column="24" severity="error" message="This expression is not callable.
|
|
Type 'Promise<never>' has no call signatures." source="TS2349" />
|
|
<error line="176" column="18" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
</file>
|
|
<file name="assets/js/hocs/test/with-product.js">
|
|
<error line="29" column="4" severity="error" message="Type '{ error: any; getProduct: any; isLoading: any; product: any; }' is not assignable to type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.
|
|
Property 'error' does not exist on type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'." source="TS2322" />
|
|
<error line="29" column="18" severity="error" message="Property 'error' does not exist on type '{ children?: ReactNode; }'." source="TS2339" />
|
|
<error line="30" column="23" severity="error" message="Property 'getProduct' does not exist on type '{ children?: ReactNode; }'." source="TS2339" />
|
|
<error line="31" column="22" severity="error" message="Property 'isLoading' does not exist on type '{ children?: ReactNode; }'." source="TS2339" />
|
|
<error line="32" column="20" severity="error" message="Property 'product' does not exist on type '{ children?: ReactNode; }'." source="TS2339" />
|
|
<error line="37" column="45" severity="error" message="Type '{ attributes: { productId: number; }; }' is not assignable to type 'IntrinsicAttributes & { children?: ReactNode; }'.
|
|
Property 'attributes' does not exist on type 'IntrinsicAttributes & { children?: ReactNode; }'." source="TS2322" />
|
|
<error line="41" column="6" severity="error" message="Variable 'renderer' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="43" column="24" severity="error" message="Property 'mockReset' does not exist on type '(productId: number) => Promise<any>'." source="TS2339" />
|
|
<error line="48" column="25" severity="error" message="Property 'mockImplementation' does not exist on type '(productId: number) => Promise<any>'." source="TS2339" />
|
|
<error line="62" column="4" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="62" column="36" severity="error" message="Type '{ attributes: { productId: number; }; }' is not assignable to type 'IntrinsicAttributes & { children?: ReactNode; }'.
|
|
Property 'attributes' does not exist on type 'IntrinsicAttributes & { children?: ReactNode; }'." source="TS2322" />
|
|
<error line="73" column="18" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="83" column="25" severity="error" message="Property 'mockImplementation' does not exist on type '(productId: number) => Promise<any>'." source="TS2339" />
|
|
<error line="83" column="47" severity="error" message="Parameter 'productId' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="90" column="18" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="108" column="25" severity="error" message="Property 'mockImplementation' does not exist on type '(productId: number) => Promise<any>'." source="TS2339" />
|
|
<error line="109" column="30" severity="error" message="Property 'mockImplementation' does not exist on type '(error: { json?: Function | undefined; message?: string | undefined; type?: string | undefined; }) => Promise<{ message: string; type: string; }>'." source="TS2339" />
|
|
<error line="116" column="24" severity="error" message="This expression is not callable.
|
|
Type 'Promise<never>' has no call signatures." source="TS2349" />
|
|
<error line="119" column="18" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
</file>
|
|
<file name="assets/js/hocs/test/with-searched-products.js">
|
|
<error line="24" column="11" severity="error" message="Cannot assign to 'getProducts' because it is a read-only property." source="TS2540" />
|
|
<error line="32" column="17" severity="error" message="Cannot assign to 'useDebouncedCallback' because it is a read-only property." source="TS2540" />
|
|
<error line="39" column="40" severity="error" message="Property 'mockClear' does not exist on type '<T extends (...args: any[]) => ReturnType<T>>(func: T, wait?: number | undefined, options?: Options | undefined) => DebouncedState<T>'." source="TS2339" />
|
|
<error line="40" column="25" severity="error" message="Property 'mockClear' does not exist on type '({ selected, search, queryArgs, }: { selected: number[]; search?: string | undefined; queryArgs?: Record<string, unknown> | undefined; }) => Promise<unknown>'." source="TS2339" />
|
|
<error line="46" column="6" severity="error" message="Type '{ products: unknown; selected: unknown; isLoading: unknown; onSearch: unknown; }' is not assignable to type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.
|
|
Property 'products' does not exist on type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'." source="TS2322" />
|
|
<error line="56" column="7" severity="error" message="Variable 'props' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="56" column="14" severity="error" message="Variable 'renderer' implicitly has type 'any' in some locations where its type cannot be determined." source="TS7034" />
|
|
<error line="65" column="12" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="74" column="12" severity="error" message="Variable 'renderer' implicitly has an 'any' type." source="TS7005" />
|
|
<error line="77" column="5" severity="error" message="Variable 'props' implicitly has an 'any' type." source="TS7005" />
|
|
</file>
|
|
<file name="assets/js/hocs/test/with-transform-single-select-to-multiple-select.js">
|
|
<error line="15" column="14" severity="error" message="Type '{ selected: any; }' is not assignable to type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.
|
|
Property 'selected' does not exist on type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'." source="TS2322" />
|
|
<error line="15" column="31" severity="error" message="Property 'selected' does not exist on type '{ children?: ReactNode; }'." source="TS2339" />
|
|
<error line="23" column="20" severity="error" message="Type '{ selected: number; }' is not assignable to type 'IntrinsicAttributes & { children?: ReactNode; }'.
|
|
Property 'selected' does not exist on type 'IntrinsicAttributes & { children?: ReactNode; }'." source="TS2322" />
|
|
<error line="31" column="20" severity="error" message="Type '{ selected: null; }' is not assignable to type 'IntrinsicAttributes & { children?: ReactNode; }'.
|
|
Property 'selected' does not exist on type 'IntrinsicAttributes & { children?: ReactNode; }'." source="TS2322" />
|
|
</file>
|
|
<file name="assets/js/middleware/store-api-nonce.js">
|
|
<error line="27" column="22" severity="error" message="Property 'url' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="27" column="37" severity="error" message="Property 'path' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="28" column="26" severity="error" message="Property 'method' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="28" column="44" severity="error" message="Property 'method' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="41" column="19" severity="error" message="Property 'get' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="42" column="14" severity="error" message="Property 'get' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="43" column="14" severity="error" message="Property 'Nonce' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="45" column="19" severity="error" message="Property 'get' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="46" column="14" severity="error" message="Property 'get' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="47" column="6" severity="error" message="Element implicitly has an 'any' type because expression of type '"Nonce-Timestamp"' can't be used to index type 'Object'.
|
|
Property 'Nonce-Timestamp' does not exist on type 'Object'." source="TS7053" />
|
|
<error line="84" column="29" severity="error" message="Parameter 'request' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="105" column="32" severity="error" message="Property 'data' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="106" column="12" severity="error" message="Property 'data' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="107" column="13" severity="error" message="Property 'data' does not exist on type 'Object'." source="TS2339" />
|
|
<error line="114" column="10" severity="error" message="Property 'setNonce' does not exist on type 'typeof apiFetch'." source="TS2339" />
|
|
</file>
|
|
<file name="assets/js/payment-method-extensions/payment-methods/cod/index.js">
|
|
<error line="61" column="51" severity="error" message="Parameter 'shippingMethodId' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="83" column="24" severity="error" message="Argument of type '{ name: string; label: JSX.Element; content: JSX.Element; edit: JSX.Element; canMakePayment: ({ cartNeedsShipping, selectedShippingMethods }: { cartNeedsShipping: boolean; selectedShippingMethods: boolean; }) => boolean; ariaLabel: any; supports: { ...; }; }' is not assignable to parameter of type 'PaymentMethodConfiguration | LegacyRegisterPaymentMethodFunction'.
|
|
Type '{ name: string; label: JSX.Element; content: JSX.Element; edit: JSX.Element; canMakePayment: ({ cartNeedsShipping, selectedShippingMethods }: { cartNeedsShipping: boolean; selectedShippingMethods: boolean; }) => boolean; ariaLabel: any; supports: { ...; }; }' is not assignable to type 'PaymentMethodConfiguration'.
|
|
Types of property 'canMakePayment' are incompatible.
|
|
Type '({ cartNeedsShipping, selectedShippingMethods }: { cartNeedsShipping: boolean; selectedShippingMethods: boolean;}) => boolean' is not assignable to type 'CanMakePaymentCallback'.
|
|
Types of parameters '__0' and 'cartData' are incompatible.
|
|
Type 'CanMakePaymentArgument' is not assignable to type '{ cartNeedsShipping: boolean; selectedShippingMethods: boolean; }'.
|
|
Types of property 'selectedShippingMethods' are incompatible.
|
|
Type 'Record<string, unknown>' is not assignable to type 'boolean'." source="TS2345" />
|
|
</file>
|
|
<file name="assets/js/utils/test/notices.js">
|
|
<error line="19" column="11" severity="error" message="Property 'mockReturnValue' does not exist on type '{ (storeNameOrDescriptor: string | StoreDescriptor): SelectorMap; (key: "core/rich-text"): typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@types/wordpress__rich-text/store/selectors"); (key: "core/notices"): typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/n...'." source="TS2339" />
|
|
<error line="46" column="11" severity="error" message="Property 'mockReturnValue' does not exist on type '{ (storeNameOrDescriptor: string | StoreDescriptor): SelectorMap; (key: "core/rich-text"): typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@types/wordpress__rich-text/store/selectors"); (key: "core/notices"): typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/n...'." source="TS2339" />
|
|
<error line="55" column="11" severity="error" message="Property 'mockReturnValue' does not exist on type '{ (storeNameOrDescriptor: string | StoreDescriptor): SelectorMap; (key: "core/rich-text"): typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@types/wordpress__rich-text/store/selectors"); (key: "core/notices"): typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/n...'." source="TS2339" />
|
|
<error line="94" column="13" severity="error" message="Property 'mockReturnValue' does not exist on type '{ (storeNameOrDescriptor: string | StoreDescriptor): DispatcherMap; (key: "core/rich-text"): typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@types/wordpress__rich-text/store/actions"); (key: "core/notices"): typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/n...'." source="TS2339" />
|
|
<error line="98" column="12" severity="error" message="Expected 1 arguments, but got 0." source="TS2554" />
|
|
<error line="103" column="12" severity="error" message="Expected 1 arguments, but got 0." source="TS2554" />
|
|
<error line="111" column="11" severity="error" message="Property 'mockReturnValue' does not exist on type '{ (storeNameOrDescriptor: string | StoreDescriptor): SelectorMap; (key: "core/rich-text"): typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@types/wordpress__rich-text/store/selectors"); (key: "core/notices"): typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/n...'." source="TS2339" />
|
|
<error line="115" column="13" severity="error" message="Property 'mockReturnValue' does not exist on type '{ (storeNameOrDescriptor: string | StoreDescriptor): DispatcherMap; (key: "core/rich-text"): typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@types/wordpress__rich-text/store/actions"); (key: "core/notices"): typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/n...'." source="TS2339" />
|
|
<error line="119" column="12" severity="error" message="Expected 1 arguments, but got 0." source="TS2554" />
|
|
</file>
|
|
<file name="assets/js/utils/test/products.js">
|
|
<error line="16" column="20" severity="error" message="Expected 1 arguments, but got 0." source="TS2554" />
|
|
<error line="22" column="44" severity="error" message="Argument of type '{}' is not assignable to parameter of type '{ images: any[]; }'.
|
|
Property 'images' is missing in type '{}' but required in type '{ images: any[]; }'." source="TS2345" />
|
|
<error line="28" column="46" severity="error" message="Type 'null' is not assignable to type 'any[]'." source="TS2322" />
|
|
<error line="56" column="20" severity="error" message="Expected 1 arguments, but got 0." source="TS2554" />
|
|
<error line="62" column="43" severity="error" message="Argument of type '{}' is not assignable to parameter of type '{ images: any[]; }'.
|
|
Property 'images' is missing in type '{}' but required in type '{ images: any[]; }'." source="TS2345" />
|
|
<error line="68" column="45" severity="error" message="Type 'null' is not assignable to type 'any[]'." source="TS2322" />
|
|
</file>
|
|
<file name="packages/checkout/blocks-registry/test/index.js">
|
|
<error line="16" column="24" severity="error" message="Parameter 'blockName' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="16" column="35" severity="error" message="Parameter 'options' implicitly has an 'any' type." source="TS7006" />
|
|
<error line="17" column="45" severity="error" message="Expected 1 arguments, but got 2." source="TS2554" />
|
|
</file>
|
|
<file name="packages/checkout/components/store-notices-container/test/index.tsx">
|
|
<error line="4" column="10" severity="error" message="Module '"@wordpress/notices"' has no exported member 'store'." source="TS2305" />
|
|
<error line="15" column="28" 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="23" column="29" severity="error" message="Property 'removeNotice' 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="30" column="28" severity="error" message="Property 'getNotices' does not exist on type 'typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@types/wordpress__rich-text/store/selectors")'." source="TS2339" />
|
|
<error line="36" column="28" 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="46" column="29" severity="error" message="Property 'removeNotice' 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="53" column="28" severity="error" message="Property 'getNotices' does not exist on type 'typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@types/wordpress__rich-text/store/selectors")'." source="TS2339" />
|
|
<error line="59" column="28" 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="70" column="29" severity="error" message="Property 'removeNotice' 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="77" column="28" severity="error" message="Property 'getNotices' does not exist on type 'typeof import("/home/runner/work/woocommerce-blocks/woocommerce-blocks/node_modules/@types/wordpress__rich-text/store/selectors")'." source="TS2339" />
|
|
</file>
|
|
<file name="packages/checkout/components/text-input/test/validated-text-input.tsx">
|
|
<error line="92" column="9" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'Matchers<void, HTMLElement | null>'." source="TS2339" />
|
|
<error line="93" column="45" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
<error line="114" column="39" severity="error" message="Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'." source="TS2339" />
|
|
</file>
|
|
<file name="packages/checkout/filter-registry/test/index.js">
|
|
<error line="31" column="9" severity="error" message="Property 'toUpperCase' does not exist on type 'T'." source="TS2339" />
|
|
<error line="31" column="25" severity="error" message="Object is possibly 'null' or 'undefined'." source="TS2533" />
|
|
<error line="49" column="35" severity="error" message="Property 'toUpperCase' does not exist on type 'T'." source="TS2339" />
|
|
<error line="55" column="5" severity="error" message="Type '(val: string) => boolean' is not assignable to type '(value: string) => true | Error'.
|
|
Type 'boolean' is not assignable to type 'true | Error'." source="TS2322" />
|
|
</file>
|
|
<file name="storybook/main.js">
|
|
<error line="20" column="24" severity="error" message="Parameter 'config' implicitly has an 'any' type." source="TS7006" />
|
|
</file>
|
|
<file name="storybook/__mocks__/woocommerce-block-settings.js">
|
|
<error line="1" column="15" severity="error" message="An import path cannot end with a '.ts' extension. Consider importing '../../assets/js/settings/blocks/index.js' instead." source="TS2691" />
|
|
</file>
|
|
</checkstyle>
|