client/app/bundles/course/assessment/submission/utils/answers.ts
Function convertAnswerDataToInitialValue
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const convertAnswerDataToInitialValue = (
answer: AnswerData,
): AnswerFieldEntity | null => {
switch (answer.questionType) {
case QuestionType.MultipleChoice:
- Create a ticketCreate a ticket