feat: take into account hide abstain when computing results #4200
Annotations
7 errors
Run yarn typecheck
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; }'.
|
Run yarn typecheck
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; }'.
|
Run yarn typecheck
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; }'.
|
Run yarn typecheck
ui#typecheck: command (/home/runner/work/sx-monorepo/sx-monorepo/apps/ui) /tmp/yarn--1736807344947-0.2485527225715365/yarn run typecheck exited (2)
|
Run yarn typecheck
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; }'.
|
Run yarn typecheck
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; }'.
|
Run yarn typecheck
Process completed with exit code 2.
|
Loading