News for hackers. Stuff that matters.
Re:The Saga of the Closure Compiler, and Why TypeScript Won by com2kid on Thursday September 28, 2023 @10:27PM (#37698602)
See my above reply

https://gist.github.com/alfrdmalr/faa012e421d9f7f60c3e6d2d32...

IIRC in one of the "what's new announcements" from the TS team included sample code to do it as well.

Edit: here is another example of doing it https://gist.github.com/kuroski/9a7ae8e5e5c9e22985364d1ddbf3...

And here is a medium article walking through the code step by step https://medium.com/@fullstack-shepherd/typescript-transformi...

Re:The Saga of the Closure Compiler, and Why TypeScript Won by EdwardDiego on Friday September 29, 2023 @04:26PM (#37709699)
That's horrifyingly awesome.