Fix:sound.ts #147
lint.yml
on: pull_request
pnpm_install
40s
Matrix: lint
Matrix: typecheck
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):
packages/frontend/src/components/MkNotification.vue#L191
'os' is not defined
|
lint (frontend):
packages/frontend/src/components/MkNotification.vue#L196
'os' is not defined
|
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
|