Skip to content

Fix: use unknown instead of any for unknown additional props #148

Fix: use unknown instead of any for unknown additional props

Fix: use unknown instead of any for unknown additional props #148

Triggered via pull request May 16, 2024 09:37
Status Failure
Total duration 1m 31s
Artifacts

release-next-npm-version.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors
build: api/register-block-extension/index.js#L56
Generic type 'Array<T>' requires 1 type argument(s).
build: api/register-block-extension/index.js#L61
Type '{}' is missing the following properties from type 'any[]': length, pop, push, concat, and 35 more.
build: api/register-block-extension/index.js#L67
Object literal may only specify known properties, and 'attributes' does not exist in type 'any[]'.
build: api/register-block-extension/index.js#L68
Property 'attributes' does not exist on type 'object'.
build: api/register-block-extension/index.js#L99
'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#L102
'Edit' cannot be used as a JSX component.
build: api/register-block-extension/index.js#L165
Property 'className' does not exist on type '{}'.
build: api/register-block-extension/index.js#L165
Property 'style' does not exist on type '{}'.
build: api/register-block-extension/index.js#L168
Property 'name' does not exist on type 'object'.
build: api/register-block-extension/index.js#L56
Generic type 'Array<T>' requires 1 type argument(s).
build: api/register-block-extension/index.js#L61
Type '{}' is missing the following properties from type 'any[]': length, pop, push, concat, and 35 more.
build: api/register-block-extension/index.js#L67
Object literal may only specify known properties, and 'attributes' does not exist in type 'any[]'.
build: api/register-block-extension/index.js#L68
Property 'attributes' does not exist on type 'object'.
build: api/register-block-extension/index.js#L99
'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#L102
'Edit' cannot be used as a JSX component.
build: api/register-block-extension/index.js#L165
Property 'className' does not exist on type '{}'.
build: api/register-block-extension/index.js#L165
Property 'style' does not exist on type '{}'.
build: api/register-block-extension/index.js#L168
Property 'name' does not exist on type 'object'.