fix(frontend): 노트 삭제 예약
을 활성화한 상태로 옵션을 수정하지 않고 노트를 게시하면 노트 삭제 예약이 적용…
#1606
lint.yml
on: push
pnpm_install
36s
Matrix: lint
Matrix: typecheck
Annotations
14 errors and 1 warning
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.
|
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)
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)
Argument of type 'JsonValue' is not assignable to parameter of type 'string'.
|
typecheck (backend)
Process completed with exit code 2.
|
lint (frontend-shared):
packages/frontend-shared/js/array.ts#L6
'EndoRelation' is defined but never used
|