4.14.1-alpha.1 #1680
Annotations
10 errors and 1 warning
Run pnpm --filter backend run typecheck
'instance' is possibly 'null'.
|
Run pnpm --filter backend run typecheck
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'.
|
Run pnpm --filter backend run typecheck
Property 'isSilenced' does not exist on type 'MiUser'.
|
Run pnpm --filter backend run typecheck
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: { ...; }; }, { ...; }>'.
|
Run pnpm --filter backend run typecheck
Argument of type 'string[]' is not assignable to parameter of type 'string'.
|
Run pnpm --filter backend run typecheck
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; }'.
|
Run pnpm --filter backend run typecheck
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; }'.
|
Run pnpm --filter backend run typecheck
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; }'.
|
Run pnpm --filter backend run typecheck
Argument of type 'JsonValue | undefined' is not assignable to parameter of type '{ partner?: string | undefined; group?: string | undefined; }'.
|
Run pnpm --filter backend run typecheck
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...'.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading