Correct a type declaration in the usePrimaryTerm
component
#379
Annotations
10 errors
components/color-settings/index.tsx#L93
Type '(color: string) => void' is not assignable to type '(newColor?: string | undefined, index?: number | undefined) => void'.
|
components/repeater/index.js#L1
Module '"@wordpress/block-editor"' has no exported member 'useBlockEditContext'.
|
components/repeater/index.js#L39
Type 'null' is not assignable to type 'Function'.
|
components/repeater/index.js#L39
Type 'null' is not assignable to type 'Function'.
|
components/repeater/index.js#L79
Generic type 'Array<T>' requires 1 type argument(s).
|
components/repeater/index.js#L80
Generic type 'Array<T>' requires 1 type argument(s).
|
components/repeater/index.js#L85
Type 'null' is not assignable to type 'string'.
|
components/repeater/index.js#L98
Parameter 'event' implicitly has an 'any' type.
|
components/repeater/index.js#L102
Parameter 'items' implicitly has an 'any' type.
|
components/repeater/index.js#L103
Parameter 'item' implicitly has an 'any' type.
|
This job succeeded
Loading