Minification: Combined TypeScript output (#842)

Finally, fixed the actual #842 issue.