Refactor /hooks
to TS
#311
Annotations
10 errors and 2 warnings
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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: preactjs/compressed-size-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: preactjs/compressed-size-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|