Implement Multiprocesses components #138
Annotations
8 errors
build-stg:
src/components/Process/Chained.tsx#L105
Type '{ children: Element[]; renderWith: RenderWith[]; confirmContents: (elections: PublishedElection, answers: FieldValues) => Element; }' is not assignable to type 'IntrinsicAttributes & QuestionsFormProviderProps & { children?: ReactNode; }'.
|
build-stg:
src/components/Process/Chained.tsx#L106
Type '{ elections: PublishedElection; answers: FieldValues; }' is not assignable to type 'IntrinsicAttributes & QuestionsConfirmationProps'.
|
build-stg:
src/components/Process/Chained.tsx#L119
Type '{ elections: PublishedElection; answers: FieldValues; }' is not assignable to type 'IntrinsicAttributes & QuestionsConfirmationProps'.
|
build-stg:
src/components/Process/ConfirmVoteModal.tsx#L8
Property 'elections' does not exist on type 'QuestionsConfirmationProps'.
|
build-stg:
src/components/Process/ConfirmVoteModal.tsx#L20
Argument of type '({ election, voted, isAbleToVote }: { election: any; voted: any; isAbleToVote: any; }) => Element' is not assignable to parameter of type '(value: unknown, index: number, array: unknown[]) => Element'.
|
build-stg:
src/components/Process/ConfirmVoteModal.tsx#L35
Parameter 'q' implicitly has an 'any' type.
|
build-stg:
src/components/Process/ConfirmVoteModal.tsx#L35
Parameter 'i' implicitly has an 'any' type.
|
build-stg
Process completed with exit code 2.
|