interface QuestionUpdate {
    answers?: {
        value: string;
    }[];
    id: number;
    survey: {
        id: number;
    };
    title?: string;
    type?: QuestionType;
}

Properties

answers?: {
    value: string;
}[]

Type declaration

  • value: string
id: number
survey: {
    id: number;
}

Type declaration

  • id: number
title?: string