import { IContentType } from '../../ContentTypes/ContentType.interface' import { Block } from '../Block' type ChildDatabaseType = { title:string } export class ChildDatabase extends Block { toHTML(): string { const calloutContent:ChildDatabaseType = this.content as ChildDatabaseType const childrenContent:string = this.children.map((childItem:IContentType) => { return childItem.toHTML() }).join('') return `
` } }