9 lines
430 B
TypeScript
9 lines
430 B
TypeScript
import { GIFTQuestionRenderer } from './gift-question-renderer.js';
|
|
import { ShortAnswer } from 'gift-pegjs';
|
|
import { ProcessingError } from '../../processing-error.js';
|
|
|
|
export class ShortQuestionRenderer extends GIFTQuestionRenderer<ShortAnswer> {
|
|
override render(_question: ShortAnswer, _questionNumber: number): string {
|
|
throw new ProcessingError("The question type 'ShortAnswer' is not supported yet!");
|
|
}
|
|
}
|