QuestionFormat
QuestionFormat: { fileExtension: string; fileType: string; export: any; import: any }
Type declaration
fileExtension: string
fileType: string
export:function
- export(questions: { choices: ({ answer: string; isCorrect: boolean; id?: string | undefined; })[]; id: undefined | string; question: string }[]): string
Parameters
questions: { choices: ({ answer: string; isCorrect: boolean; id?: string | undefined; })[]; id: undefined | string; question: string }[]
Returns string
import:function
- import(text: string): { choices: ({ answer: string; isCorrect: boolean; id?: string | undefined; })[]; id: undefined | string; question: string }[]
Parameters
Returns { choices: ({ answer: string; isCorrect: boolean; id?: string | undefined; })[]; id: undefined | string; question: string }[]
file extension for exporting