/// class SayBold extends Say { public async getPureElements () : Promise> { let paragraphs = await this.getParagraphs(); let elements = paragraphs.length == 1 ? paragraphs[0] : Array.prototype.concat.apply([], paragraphs); let b = document.createElement("b"); elements.forEach((element) => { b.appendChild(element); }); return [b]; } }