/** * @typedef {Object} IChoice * @property {number} id * @property {string} answer * @property {string} points */ /** * @typedef {Object} IQuestion * @property {number} number * @property {string} question * @property {boolean} isMultiChoice * @property {IChoice[]} choices */ /** * @typedef {Object} IQuiz * @property {string} id * @property {number} totalPoints * @property {IQuestion[]} questions */ /** * @type {IQuiz} */ export class Quiz { constructor({ id, questions, totalPoints }: IQuiz); } export type IChoice = { id: number; answer: string; points: string; }; export type IQuestion = { number: number; question: string; isMultiChoice: boolean; choices: IChoice[]; }; export type IQuiz = { id: string; totalPoints: number; questions: IQuestion[]; }; //# sourceMappingURL=index.d.ts.map