export type TemplateAttributes = { name: string, [key: string]: string } export type TemplateConstructor = { $: TemplateAttributes, Text: string } export default class Template { public $: TemplateAttributes public Text: string constructor(opts: TemplateConstructor) { this.$ = opts.$ this.Text = opts.Text } }