In the before times you could have made a big fuss if you made a tool to convert js to typescript in this way.
Alas we’re about to stop caring about programming languages at all.