Added TypeScript support

what is `tpl.html`?