identified vote front #411
Annotations
10 errors
Lint and Format (18.x, 8.x)
Property 'type' is missing in type '{ status: "preparing"; choices: (GetResult<{ id: number; agendaId: number; name: string; }, unknown> & {})[]; voters: { voted: number; total: number; }; user: { votable: true; }; id: number; title: string; resolution: string; content: string; }' but required in type '{ status: "preparing"; type: { id: number; name: string; agendaId: number; named: boolean; private: boolean; voteInfo: { id: number; name: string; voterid: number; choiceid: number; }[]; }; id: number; title: string; ... 4 more ...; choices: { ...; }[]; }'.
|
Lint and Format (18.x, 8.x)
Property 'type' is missing in type '{ status: "ongoing"; voters: { voted: number; total: number; }; user: { voted: null; votable: boolean; }; choices: ({ users: (GetResult<{ userId: number; choiceId: number; }, unknown> & {})[]; } & GetResult<...> & {})[]; id: number; title: string; resolution: string; content: string; }' but required in type '{ status: "ongoing"; type: { id: number; name: string; agendaId: number; named: boolean; private: boolean; voteInfo: { id: number; name: string; voterid: number; choiceid: number; }[]; }; id: number; title: string; ... 4 more ...; choices: { ...; }[]; }'.
|
Lint and Format (18.x, 8.x)
Property 'type' is missing in type '{ status: "terminated"; choices: { id: number; name: string; count: number; }[]; voters: { voted: number; total: number; }; user: { voted: number | null; votable: boolean; }; id: number; title: string; resolution: string; content: string; }' but required in type '{ status: "terminated"; type: { id: number; name: string; agendaId: number; named: boolean; private: boolean; voteInfo: { id: number; name: string; voterid: number; choiceid: number; }[]; }; id: number; title: string; ... 4 more ...; choices: { ...; }[]; }'.
|
Lint and Format (18.x, 8.x)
Property 'type' is missing in type '{ status: "preparing"; choices: { id: number; name: string; }[]; voters: { voted: number; total: number; }; user: { votable: true; }; id: number; title: string; resolution: string; content: string; }' but required in type '{ status: "preparing"; type: { id: number; name: string; agendaId: number; named: boolean; private: boolean; voteInfo: { id: number; name: string; voterid: number; choiceid: number; }[]; }; id: number; title: string; ... 4 more ...; choices: { ...; }[]; }'.
|
Lint and Format (18.x, 8.x)
Property 'type' is missing in type '{ status: "preparing"; choices: { id: number; name: string; count: number; }[]; voters: { voted: never[]; total: { id: number; username: string; displayName: string; }[]; }; id: number; title: string; resolution: string; content: string; }' but required in type '{ status: "preparing" | "ongoing" | "terminated"; type: { id: number; name: string; agendaId: number; named: boolean; private: boolean; voteInfo: { id: number; name: string; voterid: number; choiceid: number; }[]; }; ... 5 more ...; choices: { ...; }[]; }'.
|
Lint and Format (18.x, 8.x)
Type '{ id: number; title: string; content: string; resolution: string; status: "preparing" | "ongoing" | "terminated"; choices: { id: number; name: string; count: number; }[]; voters: { total: { id: number; username: string; displayName: string; }[]; voted: { ...; }[]; }; }[]' is not assignable to type '{ status: "preparing" | "ongoing" | "terminated"; type: { id: number; name: string; agendaId: number; named: boolean; private: boolean; voteInfo: { id: number; name: string; voterid: number; choiceid: number; }[]; }; ... 5 more ...; choices: { ...; }[]; }[]'.
|
Lint and Format (18.x, 8.x)
Type '{ status: "preparing"; user: { votable: boolean; }; choices: { id: number; name: string; }[]; id: number; title: string; content: string; resolution: string; voters: { voted: number; total: number; }; }' is not assignable to type '{ status: "preparing"; type: { id: number; name: string; agendaId: number; named: boolean; private: boolean; voteInfo: { id: number; name: string; voterid: number; choiceid: number; }[]; }; id: number; title: string; ... 4 more ...; choices: { ...; }[]; } | { ...; } | { ...; }'.
|
Lint and Format (18.x, 8.x)
Type '{ status: "ongoing"; user: { votable: boolean; voted: number | null; }; choices: { id: number; name: string; }[]; id: number; title: string; content: string; resolution: string; voters: { voted: number; total: number; }; }' is not assignable to type '{ status: "preparing"; type: { id: number; name: string; agendaId: number; named: boolean; private: boolean; voteInfo: { id: number; name: string; voterid: number; choiceid: number; }[]; }; id: number; title: string; ... 4 more ...; choices: { ...; }[]; } | { ...; } | { ...; }'.
|
Lint and Format (18.x, 8.x)
Type '{ status: "terminated"; user: { votable: boolean; voted: number | null; }; choices: { id: number; name: string; count: number; }[]; id: number; title: string; content: string; resolution: string; voters: { ...; }; }' is not assignable to type '{ status: "preparing"; type: { id: number; name: string; agendaId: number; named: boolean; private: boolean; voteInfo: { id: number; name: string; voterid: number; choiceid: number; }[]; }; id: number; title: string; ... 4 more ...; choices: { ...; }[]; } | { ...; } | { ...; }'.
|
Lint and Format (18.x, 8.x)
Process completed with exit code 1.
|