Skip to content

Fix:sound.ts

Fix:sound.ts #147

Triggered via pull request June 20, 2024 18:33
Status Success
Total duration 9m 0s
Artifacts

lint.yml

on: pull_request
pnpm_install
40s
pnpm_install
Matrix: lint
Matrix: typecheck
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 10 warnings
typecheck (backend)
Type 'string | null' is not assignable to type 'string | undefined'.
typecheck (backend)
Type 'import("/home/runner/work/cherrypick/cherrypick/node_modules/.pnpm/sharp@0.33.4/node_modules/sharp/lib/index").Sharp' is not assignable to type 'import("/home/runner/work/cherrypick/cherrypick/node_modules/.pnpm/sharp@0.32.6/node_modules/sharp/lib/index").Sharp'.
typecheck (backend)
'img' is possibly 'null'.
typecheck (backend)
Argument of type 'Sharp | null' is not assignable to parameter of type 'Sharp'.
typecheck (backend)
Argument of type 'Sharp | null' is not assignable to parameter of type 'Sharp'.
typecheck (backend)
Argument of type 'Sharp | null' is not assignable to parameter of type 'Sharp'.
typecheck (backend)
Cannot find name 'sharp'.
typecheck (backend)
Parameter 'err' implicitly has an 'any' type.
typecheck (backend)
Parameter 'buffer' implicitly has an 'any' type.
typecheck (backend)
Parameter 'info' implicitly has an 'any' type.
lint (frontend)
Process completed with exit code 1.
lint (cherrypick-js): packages/cherrypick-js/src/acct.ts#L7
Assignment to function parameter 'acct'
lint (cherrypick-js): packages/cherrypick-js/src/api.ts#L17
Unexpected any. Specify a different type
lint (cherrypick-js): packages/cherrypick-js/src/api.ts#L32
Unexpected any. Specify a different type
lint (cherrypick-js): packages/cherrypick-js/src/api.types.ts#L30
Unexpected any. Specify a different type
lint (cherrypick-js): packages/cherrypick-js/src/api.types.ts#L35
Unexpected any. Specify a different type
lint (cherrypick-js): packages/cherrypick-js/src/consts.ts#L140
Unexpected any. Specify a different type
lint (cherrypick-js): packages/cherrypick-js/src/consts.ts#L141
Unexpected any. Specify a different type
lint (cherrypick-js): packages/cherrypick-js/src/consts.ts#L162
Unexpected any. Specify a different type
lint (cherrypick-js): packages/cherrypick-js/src/consts.ts#L166
Unexpected any. Specify a different type
lint (cherrypick-js): packages/cherrypick-js/src/consts.ts#L167
Unexpected any. Specify a different type