Correct a type declaration in the usePrimaryTerm
component
#379
Annotations
10 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.
|