Skip to content

fix add missing ? in optional chaining when trying to access media size #209

fix add missing ? in optional chaining when trying to access media size

fix add missing ? in optional chaining when trying to access media size #209

Triggered via pull request October 25, 2023 07:33
Status Success
Total duration 2m 2s
Artifacts

compressed-size.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build: api/register-block-extension/index.js#L4
Cannot find module '@wordpress/hooks' or its corresponding type declarations.
build: api/register-block-extension/index.js#L5
Cannot find module '@wordpress/compose' or its corresponding type declarations.
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 29 more.
build: api/register-block-extension/index.js#L67
Type '{ attributes: any; }' is not assignable to 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#L83
Parameter 'BlockEdit' implicitly has an 'any' type.
build: api/register-block-extension/index.js#L84
Parameter 'props' implicitly has an 'any' type.
build: api/register-block-extension/index.js#L117
Parameter 'BlockList' implicitly has an 'any' type.
build: api/register-block-extension/index.js#L118
Parameter 'props' implicitly has an 'any' type.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/[email protected], 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/