Skip to content

Update package.json

Update package.json #5

Triggered via push January 15, 2024 02:44
Status Success
Total duration 9m 13s
Artifacts

lint.yml

on: push
pnpm_install
48s
pnpm_install
Matrix: lint
Matrix: typecheck
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 10 warnings
typecheck (backend)
Argument of type 'DeleteObjectCommand' is not assignable to parameter of type 'Command<ServiceInputTypes, DeleteObjectCommandInput, ServiceOutputTypes, DeleteObjectCommandOutput, SmithyResolvedConfiguration<...>>'.
typecheck (backend)
Type '{ readonly tags: readonly ["admin"]; readonly requireCredential: true; readonly requireAdmin: true; readonly res: { readonly type: "object"; readonly properties: { readonly name: { readonly type: "string"; readonly nullable: false; readonly optional: false; }; ... 4 more ...; readonly forward: { ...; }; }; }; readon...' does not satisfy the constraint 'IEndpointMeta'.
typecheck (backend)
Type '{ readonly requireCrendential: true; readonly requireAdmin: true; readonly errors: { readonly resolverNotFound: { readonly message: "Resolver not found."; readonly code: "RESOLVER_NOT_FOUND"; readonly id: "121fbea9-3e49-4456-998a-d4095c7ac5c5"; }; }; }' does not satisfy the constraint 'IEndpointMeta'.
typecheck (backend)
Type '{ readonly requireCredential: true; readonly requireAdmin: true; readonly res: { readonly type: "array"; readonly items: { readonly type: "object"; readonly properties: { readonly name: { readonly type: "string"; readonly nullable: false; readonly optional: false; }; ... 4 more ...; readonly forward: { ...; }; }; };...' does not satisfy the constraint 'IEndpointMeta'.
typecheck (backend)
Type '{ readonly requireCredential: true; readonly requireAdmin: true; readonly errors: { readonly resolverNotFound: { readonly message: "Resolver not found."; readonly id: "fd32710e-75e1-4d20-bbd2-f89029acb16e"; readonly code: "RESOLVER_NOT_FOUND"; }; readonly invalidRegularExpressionForTargetUser: { ...; }; readonly inv...' does not satisfy the constraint 'IEndpointMeta'.
typecheck (backend)
Argument of type '(ps: SchemaType<{ readonly type: "object"; readonly properties: { readonly userId: { readonly type: "string"; readonly format: "misskey:id"; }; readonly groupId: { readonly type: "string"; readonly format: "misskey:id"; }; readonly limit: { ...; }; readonly sinceId: { ...; }; readonly untilId: { ...; }; readonly mar...' is not assignable to parameter of type 'Executor<{ readonly tags: readonly ["messaging"]; readonly requireCredential: true; readonly kind: "read:messaging"; readonly res: { readonly type: "array"; readonly optional: false; readonly nullable: false; readonly items: { ...; }; }; readonly errors: { ...; }; }, { ...; }>'.
typecheck (backend)
Not all code paths return a value.
typecheck (backend)
Argument of type '(ps: {} & { noteId: string; targetLang: string; } & { noteId?: string | undefined; targetLang?: string | undefined; }, me: MiLocalUser) => Promise<204 | { sourceLang: string; text: string; translator: string[]; } | { ...; }>' is not assignable to parameter of type 'Executor<{ readonly tags: readonly ["notes"]; readonly requireCredential: true; readonly kind: "read:account"; readonly res: { readonly type: "object"; readonly optional: false; readonly nullable: false; readonly properties: { ...; }; }; readonly errors: { ...; }; }, { ...; }>'.
typecheck (backend)
Argument of type '(ps: {} & { userId: string; targetLang: string; } & { userId?: string | undefined; targetLang?: string | undefined; }, me: MiLocalUser) => Promise<204 | { sourceLang: string; text: string; translator: string[]; } | { ...; }>' is not assignable to parameter of type 'Executor<{ readonly tags: readonly ["users"]; readonly requireCredential: true; readonly kind: "read:account"; readonly res: { readonly type: "object"; readonly optional: false; readonly nullable: false; readonly properties: { ...; }; }; readonly errors: { ...; }; }, { ...; }>'.
typecheck (backend)
Property 'kind' is missing in type 'MessagingChannelService' but required in type 'MiChannelService<boolean>'.
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#L20
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#L20
Unexpected any. Specify a different type
lint (cherrypick-js): packages/cherrypick-js/src/api.types.ts#L20
Unexpected any. Specify a different type
lint (cherrypick-js): packages/cherrypick-js/src/api.types.ts#L21
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