you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 8 months ago* (1 child)

Sure, but with lots of generated code that's going to be hard to be human readable and changeable. It's definitely more work to add a feature to the code generated by the compiler, than to add a feature if the code was initially written in JavaScript.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 8 months ago

    By default, doesn't tsc just output the source TS files with type info stripped? Worst case you run a formatter on that output and you're done.

    There's some nonstandard TS features like the iterator shim and decorators and such, but you don't get those by default from what I remember.

  • source
  • parent