import { ContentType } from "../ContentType"; import { IContentType } from "../ContentType.interface"; export class Equation extends ContentType implements IContentType { readonly expression:string constructor(equationRawJson: any) { super(equationRawJson) this.expression = this.content['expression'] } toHTML(): string { return `${this.expression}` } }