Skip to content

Fix: Content picker check whether item.subtype is truthy before using it #159

Fix: Content picker check whether item.subtype is truthy before using it

Fix: Content picker check whether item.subtype is truthy before using it #159

Triggered via pull request July 4, 2024 11:50
Status Failure
Total duration 2m 48s
Artifacts

release-next-npm-version.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

21 errors
build: components/color-settings/index.tsx#L93
Type '(color: string) => void' is not assignable to type '(newColor?: string | undefined, index?: number | undefined) => void'.
build: components/repeater/index.js#L1
Module '"@wordpress/block-editor"' has no exported member 'useBlockEditContext'.
build: components/repeater/index.js#L39
Type 'null' is not assignable to type 'Function'.
build: components/repeater/index.js#L39
Type 'null' is not assignable to type 'Function'.
build: components/repeater/index.js#L79
Generic type 'Array<T>' requires 1 type argument(s).
build: components/repeater/index.js#L80
Generic type 'Array<T>' requires 1 type argument(s).
build: components/repeater/index.js#L85
Type 'null' is not assignable to type 'string'.
build: components/repeater/index.js#L98
Parameter 'event' implicitly has an 'any' type.
build: components/repeater/index.js#L102
Parameter 'items' implicitly has an 'any' type.
build: components/repeater/index.js#L103
Parameter 'item' implicitly has an 'any' type.
build
Process completed with exit code 1.
build: components/color-settings/index.tsx#L93
Type '(color: string) => void' is not assignable to type '(newColor?: string | undefined, index?: number | undefined) => void'.
build: components/repeater/index.js#L1
Module '"@wordpress/block-editor"' has no exported member 'useBlockEditContext'.
build: components/repeater/index.js#L39
Type 'null' is not assignable to type 'Function'.
build: components/repeater/index.js#L39
Type 'null' is not assignable to type 'Function'.
build: components/repeater/index.js#L79
Generic type 'Array<T>' requires 1 type argument(s).
build: components/repeater/index.js#L80
Generic type 'Array<T>' requires 1 type argument(s).
build: components/repeater/index.js#L85
Type 'null' is not assignable to type 'string'.
build: components/repeater/index.js#L98
Parameter 'event' implicitly has an 'any' type.
build: components/repeater/index.js#L102
Parameter 'items' implicitly has an 'any' type.
build: components/repeater/index.js#L103
Parameter 'item' implicitly has an 'any' type.