Skip to content

feat: take into account hide abstain when computing results #4200

feat: take into account hide abstain when computing results

feat: take into account hide abstain when computing results #4200

Triggered via push January 13, 2025 22:27
Status Failure
Total duration 2m 3s
Artifacts

test.yml

on: push
lint-build-test
1m 54s
lint-build-test
Fit to window
Zoom out
Zoom in

Annotations

7 errors
lint-build-test
Argument of type '{ scores: number[]; scores_total: number; }' is not assignable to parameter of type '{ scores: number[]; type: VoteType; scores_total: number; quorum_type?: string | undefined; hide_abstain?: boolean | undefined; }'.
lint-build-test
Argument of type '{ scores: number[]; scores_total: number; }' is not assignable to parameter of type '{ scores: number[]; type: VoteType; scores_total: number; quorum_type?: string | undefined; hide_abstain?: boolean | undefined; }'.
lint-build-test
Argument of type '{ scores: number[]; scores_total: number; quorum_type: string; }' is not assignable to parameter of type '{ scores: number[]; type: VoteType; scores_total: number; quorum_type?: string | undefined; hide_abstain?: boolean | undefined; }'.
lint-build-test
ui#typecheck: command (/home/runner/work/sx-monorepo/sx-monorepo/apps/ui) /tmp/yarn--1736807344947-0.2485527225715365/yarn run typecheck exited (2)
lint-build-test
Argument of type '{ scores: number[]; scores_total: number; }' is not assignable to parameter of type '{ scores: number[]; type: VoteType; scores_total: number; quorum_type?: string | undefined; hide_abstain?: boolean | undefined; }'.
lint-build-test
Argument of type '{ scores: number[]; scores_total: number; }' is not assignable to parameter of type '{ scores: number[]; type: VoteType; scores_total: number; quorum_type?: string | undefined; hide_abstain?: boolean | undefined; }'.
lint-build-test
Process completed with exit code 2.