Migrate ContentPicker
to TypeScript
#156
Annotations
21 errors
build:
api/register-block-extension/index.js#L55
Generic type 'Array<T>' requires 1 type argument(s).
|
build:
api/register-block-extension/index.js#L60
Type '{}' is missing the following properties from type 'any[]': length, pop, push, concat, and 35 more.
|
build:
api/register-block-extension/index.js#L66
Object literal may only specify known properties, and 'attributes' does not exist in type 'any[]'.
|
build:
api/register-block-extension/index.js#L67
Property 'attributes' does not exist on type 'object'.
|
build:
api/register-block-extension/index.js#L98
'Edit' cannot be used as a JSX component.
|
build:
api/register-block-extension/index.js#L100
'Edit' cannot be used as a JSX component.
|
build:
api/register-block-extension/index.js#L101
'Edit' cannot be used as a JSX component.
|
build:
api/register-block-extension/index.js#L164
Property 'className' does not exist on type '{}'.
|
build:
api/register-block-extension/index.js#L164
Property 'style' does not exist on type '{}'.
|
build:
api/register-block-extension/index.js#L167
Property 'name' does not exist on type 'object'.
|
build
Process completed with exit code 1.
|
build:
api/register-block-extension/index.js#L55
Generic type 'Array<T>' requires 1 type argument(s).
|
build:
api/register-block-extension/index.js#L60
Type '{}' is missing the following properties from type 'any[]': length, pop, push, concat, and 35 more.
|
build:
api/register-block-extension/index.js#L66
Object literal may only specify known properties, and 'attributes' does not exist in type 'any[]'.
|
build:
api/register-block-extension/index.js#L67
Property 'attributes' does not exist on type 'object'.
|
build:
api/register-block-extension/index.js#L98
'Edit' cannot be used as a JSX component.
|
build:
api/register-block-extension/index.js#L100
'Edit' cannot be used as a JSX component.
|
build:
api/register-block-extension/index.js#L101
'Edit' cannot be used as a JSX component.
|
build:
api/register-block-extension/index.js#L164
Property 'className' does not exist on type '{}'.
|
build:
api/register-block-extension/index.js#L164
Property 'style' does not exist on type '{}'.
|
build:
api/register-block-extension/index.js#L167
Property 'name' does not exist on type 'object'.
|