Interface QuizResult

interface QuizResult {
    questions: {
        question: Question;
        total: number;
        winners: [string, Voter][];
    }[];
    surveyId: string;
    winners: Winner[];
}

Properties

questions: {
    question: Question;
    total: number;
    winners: [string, Voter][];
}[]

Type declaration

surveyId: string
winners: Winner[]