Skip to content

Merge pull request #554 #1696

Merge pull request #554

Merge pull request #554 #1696

Triggered via push January 1, 2025 13:10
Status Success
Total duration 12m 0s
Artifacts

lint.yml

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

Annotations

16 errors and 13 warnings
typecheck (backend)
'instance' is possibly 'null'.
typecheck (backend)
Type '{ id: string; updatedAt?: Date | null | undefined; updatedAtHistory?: Date[] | null | undefined; noteEditHistory?: string[] | undefined; replyId: MiNote["id"] | null; reply: MiNote | null; ... 35 more ...; deleteAt?: Date | ... 1 more ... | undefined; }' is not assignable to type 'MiNote'.
typecheck (backend)
Property 'isSilenced' does not exist on type 'MiUser'.
typecheck (backend)
Argument of type '(ps: {} & { noteId: string; targetLang: string; } & { noteId?: string | undefined; targetLang?: string | undefined; }, me: MiLocalUser) => Promise<number | { sourceLang: string; text: string | string[]; translator: string | never[]; } | undefined>' 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: true; readonly nullable: false; readonly properties: { ...; }; }; readonly errors: { ...; }; }, { ...; }>'.
typecheck (backend)
Argument of type 'string[]' is not assignable to parameter of type 'string'.
typecheck (backend)
Argument of type 'MiNote' is not assignable to parameter of type '{ id: string; createdAt: string; updatedAt?: string | null | undefined; updatedAtHistory?: string[] | null | undefined; noteEditHistory?: unknown[] | undefined; deletedAt?: string | null | undefined; ... 33 more ...; deleteAt?: string | ... 1 more ... | undefined; }'.
typecheck (backend)
Argument of type 'MiNote' is not assignable to parameter of type '{ id: string; createdAt: string; updatedAt?: string | null | undefined; updatedAtHistory?: string[] | null | undefined; noteEditHistory?: unknown[] | undefined; deletedAt?: string | null | undefined; ... 33 more ...; deleteAt?: string | ... 1 more ... | undefined; }'.
typecheck (backend)
Object literal may only specify known properties, and 'origin' does not exist in type '{ userId?: string | null | undefined; channelId?: string | null | undefined; host?: string | null | undefined; }'.
typecheck (backend)
Argument of type 'JsonValue | undefined' is not assignable to parameter of type '{ partner?: string | undefined; group?: string | undefined; }'.
typecheck (backend)
Property 'isSilenced' does not exist on type '{ id: string; name: SchemaType<{ readonly type: "string"; readonly nullable: true; readonly optional: false; readonly example: "藍"; }>; host: SchemaType<{ readonly type: "string"; readonly nullable: true; readonly optional: false; readonly example: "cherrypick.example.com"; readonly description: "The local host is r...'.
typecheck (sw)
Right operand of ?? is unreachable because the left operand is never nullish.
typecheck (sw)
Property 'user' does not exist on type '{ id: string; createdAt: string; type: "groupInvited"; invitation: string; }'.
typecheck (sw)
Property 'group' does not exist on type 'string'.
typecheck (sw)
Property 'id' does not exist on type 'string'.
typecheck (sw)
Property 'id' does not exist on type 'string'.
typecheck (sw)
Process completed with exit code 2.
pnpm_install
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
typecheck (cherrypick-js)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
typecheck (backend)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
typecheck (sw)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint (backend)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint (cherrypick-js)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint (misskey-bubble-game)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint (frontend-shared)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint (frontend-shared): packages/frontend-shared/js/array.ts#L6
'EndoRelation' is defined but never used
lint (frontend-embed)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint (misskey-reversi)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint (sw)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint (frontend)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636