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